summaryrefslogtreecommitdiff
path: root/src/modinfo.h
diff options
context:
space:
mode:
authorAl12rs <gabriel.cortesi@outlook.com>2018-10-28 15:04:50 +0100
committerAl12rs <gabriel.cortesi@outlook.com>2018-10-28 15:04:50 +0100
commitdce6507dad1ff7d76a5c0497d516c79bacd08477 (patch)
tree3ee70b476b0d5f1016a0348839ef696e25b86f40 /src/modinfo.h
parent42d2344f0b81cb1cf8dbe83e8f480b84ed0c3114 (diff)
Added Color costumization for Separators.
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