summaryrefslogtreecommitdiffstats
path: root/covoar/configfile_test.cc
blob: 253c24821a56f6c6dd73d49c9b821491e11b009d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "ConfigFile.h"
#include <stdio.h>

Configuration::Options_t Options[] = {
  { "projectName", NULL },
  { "verbose",     NULL },
  { NULL,          NULL }
};

int main(
  int   argc,
  char *argv[]
)
{
  Configuration::FileReader *config;

  config = new Configuration::FileReader(Options);
  
  config->processFile( "configFile.txt" );
  config->printOptions();

}