Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / apps / drwho / Protocol_Record.h
blob31d20b57256ace942e80da5704eb92f3cce506f0
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
5 * @file Protocol_Record.h
7 * @author Douglas C. Schmidt
8 */
9 //=============================================================================
12 #ifndef _PROTOCOL_RECORD_H
13 #define _PROTOCOL_RECORD_H
15 #include "Drwho_Node.h"
17 /**
18 * @class Protocol_Record
20 * @brief Stores information about a single friend's status.
22 class Protocol_Record
24 public:
25 Protocol_Record ();
26 Protocol_Record (int use_dummy);
27 Protocol_Record (const char *key_name1,
28 Protocol_Record *next = 0);
29 ~Protocol_Record ();
30 const char *get_host ();
31 const char *set_host (const char *str);
32 const char *get_login ();
33 const char *set_login (const char *str);
34 const char *get_real ();
35 const char *set_real (const char *str);
36 Drwho_Node *get_drwho_list ();
38 static Drwho_Node drwho_node_;
39 const char *key_name1_;
40 const char *key_name2_;
41 Drwho_Node *drwho_list_;
42 Protocol_Record *next_;
43 int is_active_;
46 #endif /* _PROTOCOL_RECORD_H */