Settings.cpp 329 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
/*
 * Settings.cpp
 *
 *  Created on: Jan 11, 2013
 *      Author: Axel Auweter
 */

#include <cstdio>

#include "Settings.h"

Settings::Settings(int argc, const char* argv[]) : argc_(argc), argv_(argv)
{
  /* Parse command line */
  if (argc <= 1) {
      mode_ = USAGE;
  }
}

UsageMode Settings::getMode()
{
  return mode_;
}