summaryrefslogtreecommitdiff
path: root/ychat-0.1/name.h
blob: 28a2f91eb36e79b4e0a5088f37f6945d8669b919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// class name declaration.

#ifndef NAME_H
#define NAME_H

#include "incl.h"

using namespace std;

class name 
{
protected:
 // private members:
 string s_name; // object's name. 
 
public:
 // small inline methods:
 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();
};

#endif