2022-04-23 22:35:44 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// stuff required for file handling
|
|
|
|
|
|
|
|
#include <string>
|
2023-05-31 22:22:23 +02:00
|
|
|
#include <QString>
|
2022-04-23 22:35:44 +02:00
|
|
|
|
|
|
|
// create a directory and its parents
|
2023-05-31 22:22:23 +02:00
|
|
|
bool mkdirs(const QString& path);
|
2022-04-23 22:35:44 +02:00
|
|
|
|
|
|
|
// get $HOME or a useful default value
|
2023-05-31 22:22:23 +02:00
|
|
|
QString getHome();
|
2022-07-05 23:45:28 +02:00
|
|
|
|
|
|
|
// folder for caching example: $HOME/.cache/lolautoaccept/
|
2023-05-31 22:22:23 +02:00
|
|
|
QString getCache();
|