File: application.hpp

package info (click to toggle)
libclaw 1.7.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,080 kB
  • sloc: cpp: 13,287; sh: 227; makefile: 8
file content (26 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (8)
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
#include <claw/application.hpp>
#include <claw/configuration_file.hpp>

class ex_config : public claw::application
{
public:
  ex_config( int& argc, char** &argv );
  int run();

private:
  void check_arguments( int& argc, char** &argv );

private:
  bool m_quit;

  claw::configuration_file m_config;

  std::string m_filename;

  bool m_noname_section;

  std::string m_section;

  std::string m_field;

}; // class ex_config