blob: 7ea6da05d7469dbe2a1473a74d2b8e5132a4c1b6 (
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 (void);
Protocol_Record (int use_dummy);
Protocol_Record (const char *key_name1,
Protocol_Record *next = 0);
~Protocol_Record (void);
const char *get_host (void);
const char *set_host (const char *str);
const char *get_login (void);
const char *set_login (const char *str);
const char *get_real (void);
const char *set_real (const char *str);
Drwho_Node *get_drwho_list (void);
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 */
|