mirror-chatterino2/src/singletons/pathmanager.hpp
Rasmus Karlsson 2f0844ebd9 Basic logging implemented
Implemented scuffed logging settings page
Add helper function to PathManager to create an arbitrary folder
2018-01-28 14:23:55 +01:00

31 lines
567 B
C++

#pragma once
#include <QString>
namespace chatterino {
namespace singletons {
class PathManager
{
PathManager() = default;
public:
static PathManager &getInstance();
bool init(int argc, char **argv);
QString settingsFolderPath;
QString customFolderPath;
QString cacheFolderPath;
// Logs
QString logsFolderPath;
QString channelsLogsFolderPath;
QString whispersLogsFolderPath;
QString mentionsLogsFolderPath;
bool createFolder(const QString &folderPath);
};
} // namespace singletons
} // namespace chatterino