Last change
on this file since 30027 was 11664, checked in by mdewsnip, 18 years ago |
Fixed the line endings... for real this time, I hope.
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
559 bytes
|
Line | |
---|
1 | #ifndef _CONFIGURE_H_
|
---|
2 |
|
---|
3 | #include <map> // just here to include "bool" for extremely
|
---|
4 | // stupid compilers (i.e. older versions of VC++)
|
---|
5 |
|
---|
6 | class configurable
|
---|
7 | {
|
---|
8 | private:
|
---|
9 | protected:
|
---|
10 | public:
|
---|
11 | configurable();
|
---|
12 | configurable(char *prompt);
|
---|
13 | configurable(char *prompt, char *optPrompt);
|
---|
14 |
|
---|
15 | void setFinal(bool isFinal);
|
---|
16 | bool isFinal();
|
---|
17 | void setFirst(bool isFirst);
|
---|
18 | bool isFirst();
|
---|
19 |
|
---|
20 | void setOption(bool to);
|
---|
21 | bool getOption();
|
---|
22 |
|
---|
23 | char *prompt;
|
---|
24 | bool option;
|
---|
25 | bool final;
|
---|
26 | bool first;
|
---|
27 | char *optPrompt;
|
---|
28 | };
|
---|
29 | #define _CONFIGURE_H_ 1
|
---|
30 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.