33 } |
33 } |
34 |
34 |
35 //------------------------------NameList--------------------------------------- |
35 //------------------------------NameList--------------------------------------- |
36 // reserved user-defined string |
36 // reserved user-defined string |
37 const char *NameList::_signal = "$$SIGNAL$$"; |
37 const char *NameList::_signal = "$$SIGNAL$$"; |
|
38 const char *NameList::_signal2 = "$$SIGNAL2$$"; |
|
39 const char *NameList::_signal3 = "$$SIGNAL3$$"; |
38 |
40 |
39 // Constructor and Destructor |
41 // Constructor and Destructor |
40 NameList::NameList() : _cur(0), _max(4), _iter(0), _justReset(true) { |
42 NameList::NameList() : _cur(0), _max(4), _iter(0), _justReset(true) { |
41 _names = (const char**)malloc(_max*sizeof(char*)); |
43 _names = (const char**)malloc(_max*sizeof(char*)); |
42 } |
44 } |