diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-28 13:11:00 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-28 13:11:00 +0200 |
| commit | 0b524b7c2d0890809cc1dc835037fa1ea6674051 (patch) | |
| tree | a45ec977ccdb36bfb46bfaea45d3f71247336178 /src/kristall.hpp | |
| parent | 96754c53b4ff0d54f4d6c95a7c25186c58886a78 (diff) | |
| download | kristall-0b524b7c2d0890809cc1dc835037fa1ea6674051.tar.gz | |
Fixes #25 and #23, starts to implement new config/cache directory system.
Diffstat (limited to 'src/kristall.hpp')
| -rw-r--r-- | src/kristall.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/kristall.hpp b/src/kristall.hpp index e5ff24e..cbe2510 100644 --- a/src/kristall.hpp +++ b/src/kristall.hpp @@ -1,6 +1,7 @@ #ifndef KRISTALL_HPP #define KRISTALL_HPP +#include <QDir> #include <QSettings> #include <QClipboard> #include <QSslCertificate> @@ -59,4 +60,23 @@ extern SslTrust global_https_trust; extern FavouriteCollection global_favourites; extern GenericSettings global_options; +/// +/// Kristall directory structure: +/// ~/.cache/kristall/ +/// ./offline-pages/${HOST}/${HASHED_URL} +/// : Contains "mime/type\r\n${BLOB}" +/// ~/.config/kristall/ +/// ./themes/${THEME_ID}/theme.qss +/// ./styles/${STYLE_ID}.ini +/// ./config.ini +/// +namespace kristall +{ + extern QDir config_root; + extern QDir cache_root; + extern QDir offline_pages; + extern QDir themes; + extern QDir styles; +} + #endif // KRISTALL_HPP |
