summaryrefslogtreecommitdiff
path: root/src/name.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:43 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:43 +0200
commitf038883a6e004eb4312ba1e761da06b596e14d3f (patch)
tree358f989cac07885cfa913c66a0d563d18c021b26 /src/name.h
parent98eac951f8087b213f5850bd126dcb279db360a8 (diff)
tagging ychat-0.7.7.0ychat-0.7.7.0
Diffstat (limited to 'src/name.h')
-rwxr-xr-xsrc/name.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/src/name.h b/src/name.h
index 0293e2b..0a62c1f 100755
--- a/src/name.h
+++ b/src/name.h
@@ -1,30 +1,24 @@
-// class name declaration.
+#include "incl.h"
#ifndef NAME_H
#define NAME_H
-#include "incl.h"
-
using namespace std;
class name
{
protected:
- // private members:
string s_name; // object's name.
+ pthread_mutex_t mut_s_name;
public:
- virtual string get_name ( ) const;
+ virtual string get_name ( );
+ virtual string get_lowercase_name ( );
virtual void set_name ( string s_name );
-
- // public methods:
- explicit name( )
- { }
- ; // a standard constructor.
- explicit name( string s_name ); // a standard constructor.
- ~name( );
-
+ name();
+ name( string s_name ); // a standard constructor.
+ ~name();
};
#endif