Pogger/src/Preferences.h

37 lines
511 B
C
Raw Normal View History

2020-12-30 22:07:54 -06:00
/*
* Copyright 2020, Jaidyn Levesque <jadedctrl@teknik.io>
* All rights reserved. Distributed under the terms of the MIT license.
*/
2021-01-24 23:20:11 -06:00
#ifndef PREFS_H
#define PREFS_H
2020-07-03 19:13:41 -05:00
2020-12-30 22:07:54 -06:00
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>
2020-12-30 22:07:54 -06:00
2021-01-24 23:20:11 -06:00
class Preferences {
2020-07-03 19:13:41 -05:00
public:
2021-01-24 23:20:11 -06:00
Preferences();
Preferences(Preferences*);
2020-12-30 22:07:54 -06:00
void Load();
void Save();
2020-07-03 19:13:41 -05:00
bool verbose;
bool daemon;
BString outDir;
2020-07-07 17:42:12 -05:00
2021-01-12 19:08:42 -06:00
int64 updateInterval;
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
};
2020-12-30 22:07:54 -06:00
2021-01-24 23:20:11 -06:00
#endif // PREFS_H
2020-12-30 22:07:54 -06:00