summaryrefslogtreecommitdiff
path: root/src/gui/theme.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/theme.h')
-rw-r--r--src/gui/theme.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 92ff6073b..680fe63bd 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -39,6 +39,12 @@ class Image;
class ImageSet;
class ProgressBar;
+struct ThemeInfo final
+{
+ std::string name;
+ std::string copyright;
+};
+
class Skin final
{
public:
@@ -333,6 +339,8 @@ class Theme final : public Palette, public ConfigListener
static Image *getImageFromThemeXml(const std::string &name,
const std::string &name2);
+ static ThemeInfo *loadInfo(const std::string &themeName);
+
private:
Theme();