2 |
|
// |
3 |
|
// Douglas Thrift |
4 |
|
// |
5 |
< |
// $Id: IndividualClient.h,v 1.4 2003/08/18 22:25:29 douglas Exp $ |
5 |
> |
// $Id: IndividualClient.h,v 1.5 2003/08/20 05:49:34 douglas Exp $ |
6 |
|
|
7 |
|
#ifndef _IndividualClient_h_ |
8 |
|
#define _IndividualClient_h_ |
15 |
|
unsigned number; |
16 |
|
string name; |
17 |
|
string file; |
18 |
+ |
static string extension; |
19 |
|
void lowercase(string& word) { for (unsigned index = 0; index < |
20 |
|
word.length(); index++) word[index] = tolower(word[index]); } |
21 |
|
void demunge(void); |
27 |
|
unsigned getNumber(void); |
28 |
|
string getName(void); |
29 |
|
string getFile(void); |
30 |
+ |
static string getExtension(void) { return extension; } |
31 |
|
void setNumber(unsigned number); |
32 |
|
void setName(const string& name); |
33 |
|
void setFile(const string& file); |
34 |
+ |
static void setExtension(const string& extension) { |
35 |
+ |
IndividualClient::extension = extension; } |
36 |
|
}; |
37 |
|
|
38 |
|
#endif // _IndividualClient_h_ |