OTPNitro
 All Classes Files Functions Variables Macros
config.h
Go to the documentation of this file.
1 #include <fstream>
2 #include <string.h>
3 
4 #ifndef _MSC_VER
5 # include <dirent.h>
6 #endif
7 
8 #ifdef __unix__
9 # include <sys/stat.h>
10 #elif __APPLE__
11 # include <sys/stat.h>
12 #endif
13 
14 #include "otpnitro.h"
15 
16 using namespace std;
17 
21 class Config {
22  char REL_PATH[MAX_PATH];
23  int MAX_CHARS;
24  int MAX_PAGES;
25 
26  public:
27  Config(void);
28  int getChars();
29  int getPages();
30  char * getPath();
31  void setChars(int);
32  void setPages(int);
33  void setPath( char * );
34  void saveConfig();
35 };
36