source: trunk/gsinstaller/configurable.h@ 2013

Last change on this file since 2013 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
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
6class configurable
7{
8private:
9protected:
10public:
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.