Last change
on this file since 2933 was 2534, checked in by cs025, 23 years ago |
Added better monitoring of installation
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
559 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();
|
---|
[2534] | 17 | void setFirst(bool isFirst);
|
---|
| 18 | bool isFirst();
|
---|
[1539] | 19 |
|
---|
| 20 | void setOption(bool to);
|
---|
| 21 | bool getOption();
|
---|
| 22 |
|
---|
| 23 | char *prompt;
|
---|
| 24 | bool option;
|
---|
| 25 | bool final;
|
---|
[2534] | 26 | bool first;
|
---|
[1539] | 27 | char *optPrompt;
|
---|
| 28 | };
|
---|
| 29 | #define _CONFIGURE_H_ 1
|
---|
| 30 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.