summaryrefslogtreecommitdiff
path: root/src/modinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modinfo.h')
-rw-r--r--src/modinfo.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/modinfo.h b/src/modinfo.h
index 9f6c2fbc..235fb50c 100644
--- a/src/modinfo.h
+++ b/src/modinfo.h
@@ -31,6 +31,7 @@ class QDir;
#include <QSharedPointer>
#include <QString>
#include <QStringList>
+#include <QColor>
#include <boost/function.hpp>
@@ -524,6 +525,16 @@ public:
*/
virtual QStringList archives() const = 0;
+ /*
+ *@return the color choosen by the user for the mod/separator
+ */
+ virtual QColor getColor() { return QColor(); }
+
+ /*
+ *@return true if the color has been set successfully.
+ */
+ virtual void setColor(QColor color) { }
+
/**
* @brief adds the information that a file has been installed into this mod
* @param modId id of the mod installed