summaryrefslogtreecommitdiffstats
path: root/covoar/configfile_test.cc
blob: e15b7d282f9a139fd880a2eefb1610137e246b8a (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
24
25
26
27
/*
 * $Id$
 */

#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();

}