File: app.h

package info (click to toggle)
sms-pl 2.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 376 kB
  • ctags: 355
  • sloc: cpp: 2,618; perl: 109; makefile: 103; sh: 26
file content (23 lines) | stat: -rw-r--r-- 371 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __app_h
#define __app_h

#include <iostream>
#include <string>
#include "cgdbm.h"
#include "config.h"

class App {
	Config config;
	Cgdbm addr;

	void ParseCommandLine(int argc, char **argv);
	void ShowHelp();
	void OpenAddrBook();
	std::string LookupAddrBook(std::string &str);
	int CheckNewVersion();
public:
	App(int argc, char **argv);
	int Run();
};

#endif