blob: 31d20b57256ace942e80da5704eb92f3cce506f0 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/* -*- C++ -*- */
//=============================================================================
/**
* @file Protocol_Record.h
*
* @author Douglas C. Schmidt
*/
//=============================================================================
#ifndef _PROTOCOL_RECORD_H
#define _PROTOCOL_RECORD_H
#include "Drwho_Node.h"
/**
* @class Protocol_Record
*
* @brief Stores information about a single friend's status.
*/
class Protocol_Record
{
public:
Protocol_Record ();
Protocol_Record (int use_dummy);
Protocol_Record (const char *key_name1,
Protocol_Record *next = 0);
~Protocol_Record ();
const char *get_host ();
const char *set_host (const char *str);
const char *get_login ();
const char *set_login (const char *str);
const char *get_real ();
const char *set_real (const char *str);
Drwho_Node *get_drwho_list ();
static Drwho_Node drwho_node_;
const char *key_name1_;
const char *key_name2_;
Drwho_Node *drwho_list_;
Protocol_Record *next_;
int is_active_;
};
#endif /* _PROTOCOL_RECORD_H */
|