summaryrefslogtreecommitdiff
path: root/name.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:48 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:48 +0200
commitd9c4a95345bd758e45196b29368bd2ff0f2790e3 (patch)
tree8e7aa76f3f2a3a064f440f7410e4ec01cd34a78f /name.h
parentd4c9f10efe815af146438cafb694d16da0e5650a (diff)
tagging ychat-0.5.2ychat-0.5.2
Diffstat (limited to 'name.h')
-rw-r--r--[-rwxr-xr-x]name.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/name.h b/name.h
index b895389..0293e2b 100755..100644
--- a/name.h
+++ b/name.h
@@ -7,21 +7,23 @@
using namespace std;
-class name
+class name
{
protected:
- // private members:
- string s_name; // object's name.
-
+ // private members:
+ string s_name; // object's name.
+
public:
- virtual string get_name ( ) const;
- virtual void set_name ( string s_name );
+ virtual string get_name ( ) const;
+ virtual void set_name ( string s_name );
- // public methods:
- explicit name( ) { }; // a standard constructor.
- explicit name( string s_name ); // a standard constructor.
- ~name( );
+ // public methods:
+ explicit name( )
+ { }
+ ; // a standard constructor.
+ explicit name( string s_name ); // a standard constructor.
+ ~name( );
};