summaryrefslogtreecommitdiff
path: root/src/name.h
blob: 1e79c0e90f85199b1c8a4fdd418a873d0f88fdf2 (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
#include "incl.h"

#ifndef NAME_H
#define NAME_H

using namespace std;

class name
{
protected:
    string s_name; // object's name.
    pthread_mutex_t mut_s_name; 

public:
    virtual string get_name  ( );
    virtual string get_lowercase_name  ( );
    virtual void   set_name  ( string s_name );

    name();
    name( string s_name );      // a standard constructor.
    ~name();
};

#endif