summaryrefslogtreecommitdiff
path: root/lsglobals.h
diff options
context:
space:
mode:
Diffstat (limited to 'lsglobals.h')
-rw-r--r--lsglobals.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/lsglobals.h b/lsglobals.h
new file mode 100644
index 0000000..280ec36
--- /dev/null
+++ b/lsglobals.h
@@ -0,0 +1,23 @@
+#ifndef LSGLOBALS_H
+#define LSGLOBALS_H
+
+#include <QtGui/QIcon>
+#include <QtCore/QHash>
+
+class LSGlobals {
+public:
+ static bool setup();
+
+ static QIcon getIcon(QString name);
+ static QIcon getIconForPaneType(QString type);
+
+private:
+ static bool m_loaded;
+
+ static QHash<QString, QIcon> m_icons;
+ static QHash<QString, QString> m_pane_icon_names;
+
+ static bool loadIcon(QString name);
+};
+
+#endif // LSGLOBALS_H