source: trunk/gsinstaller/configurable.cpp@ 3177

Last change on this file since 3177 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: 762 bytes
Line 
1#include "configurable.h"
2
3configurable::configurable()
4{
5}
6
7configurable::configurable(char *prompt)
8{ this->prompt = prompt;
9 this->optPrompt = 0;
10 this->final = false;
11 this->option = false;
12}
13
14configurable::configurable(char *prompt, char *optPrompt)
15{ this->prompt = prompt;
16 this->optPrompt = optPrompt;
17 this->final = false;
18 this->option = false;
19}
20
21void configurable::setOption(bool to)
22{ this->option = to;
23}
24
25bool configurable::getOption()
26{ return this->option;
27}
28void configurable::setFirst(bool isFirst)
29{ this->first = isFirst;
30}
31
32bool configurable::isFirst()
33{ return this->first;
34}
35void configurable::setFinal(bool isFinal)
36{ this->final = isFinal;
37}
38bool configurable::isFinal()
39{ return this->final;
40}
Note: See TracBrowser for help on using the repository browser.