Pogger/src/Config.h

31 lines
395 B
C
Raw Normal View History

2020-07-03 19:13:41 -05:00
#ifndef CONFIG_H
#define CONFIG_H
2020-07-07 17:42:12 -05:00
#include <DateTime.h>
#include <String.h>
2020-07-03 19:13:41 -05:00
#include <StorageKit.h>
class Config {
public:
bool verbose;
bool daemon;
BString outDir;
2020-07-07 20:17:52 -05:00
BList targetFeeds; // strings of files or urls
2020-07-03 19:13:41 -05:00
2020-07-07 17:42:12 -05:00
BDateTime minDate;
BDateTime maxDate;
2020-07-13 12:31:52 -05:00
BString configDir;
BString cacheDir;
2020-07-07 20:17:52 -05:00
bool will_save;
2020-07-13 12:31:52 -05:00
bool updateFeeds;
2020-07-03 19:13:41 -05:00
Config ( );
2020-07-07 20:17:52 -05:00
void Load ( );
void Save ( );
2020-07-03 19:13:41 -05:00
};
#endif