2022-12-05 13:16:10 +00:00
|
|
|
#pragma once
|
|
|
|
|
2023-12-21 09:18:44 +00:00
|
|
|
#include "String.h"
|
2022-12-05 13:16:10 +00:00
|
|
|
#include <filesystem>
|
|
|
|
|
|
|
|
using Path = std::filesystem::path;
|
|
|
|
|
|
|
|
class SiteGeneratorConfig
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Path getThemePath() const;
|
|
|
|
|
2023-12-21 09:18:44 +00:00
|
|
|
String getActiveTheme() const;
|
2022-12-05 13:16:10 +00:00
|
|
|
|
|
|
|
void setThemePath(const Path& path);
|
|
|
|
|
2023-12-21 09:18:44 +00:00
|
|
|
void setActiveTheme(const String& theme);
|
2022-12-05 13:16:10 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Path mThemesPath;
|
2023-12-21 09:18:44 +00:00
|
|
|
String mActiveTheme;
|
2022-12-05 13:16:10 +00:00
|
|
|
};
|