diff options
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 |
