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