31 lines
395 B
C++
31 lines
395 B
C++
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
#include <DateTime.h>
|
|
#include <String.h>
|
|
#include <StorageKit.h>
|
|
|
|
class Config {
|
|
public:
|
|
bool verbose;
|
|
bool daemon;
|
|
BString outDir;
|
|
BList targetFeeds; // strings of files or urls
|
|
|
|
BDateTime minDate;
|
|
BDateTime maxDate;
|
|
|
|
BString configDir;
|
|
BString cacheDir;
|
|
bool will_save;
|
|
|
|
bool updateFeeds;
|
|
|
|
Config ( );
|
|
|
|
void Load ( );
|
|
void Save ( );
|
|
};
|
|
|
|
#endif
|