Last change
on this file since 1544 was 1539, checked in by sjboddie, 24 years ago |
Got compiling on VC++ 4.2
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
496 bytes
|
Rev | Line | |
---|
[1539] | 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 |
|
---|
| 18 | void setOption(bool to);
|
---|
| 19 | bool getOption();
|
---|
| 20 |
|
---|
| 21 | char *prompt;
|
---|
| 22 | bool option;
|
---|
| 23 | bool final;
|
---|
| 24 | char *optPrompt;
|
---|
| 25 | };
|
---|
| 26 | #define _CONFIGURE_H_ 1
|
---|
| 27 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.