Settings.h 358 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Settings.h
 *
 *  Created on: Jan 11, 2013
 *      Author: Axel Auweter
 */

#ifndef SETTINGS_H_
#define SETTINGS_H_

typedef enum {USAGE, ABORT, SPEW} UsageMode;

class Settings {

protected:
  int argc_;
  const char** argv_;
  UsageMode mode_;

public:
  Settings(int argc, const char* argv[]);
  UsageMode getMode();

};


#endif /* SETTINGS_H_ */