summaryrefslogtreecommitdiffstats
path: root/logic/lists/InstanceList.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/lists/InstanceList.h')
-rw-r--r--logic/lists/InstanceList.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/logic/lists/InstanceList.h b/logic/lists/InstanceList.h
index f23b7763..0ce808e5 100644
--- a/logic/lists/InstanceList.h
+++ b/logic/lists/InstanceList.h
@@ -25,6 +25,8 @@
class BaseInstance;
+class QDir;
+
class InstanceList : public QAbstractListModel
{
Q_OBJECT
@@ -66,11 +68,6 @@ public:
}
/*!
- * \brief Loads the instance list. Triggers notifications.
- */
- InstListError loadList();
-
- /*!
* \brief Get the instance at index
*/
InstancePtr at(int i) const
@@ -108,6 +105,12 @@ public
slots:
void on_InstFolderChanged(const Setting &setting, QVariant value);
+ /*!
+ * \brief Loads the instance list. Triggers notifications.
+ */
+ InstListError loadList();
+ void loadForgeInstances(QMap<QString, QString> groupMap);
+
private
slots:
void propertiesChanged(BaseInstance *inst);
@@ -117,6 +120,9 @@ slots:
private:
int getInstIndex(BaseInstance *inst) const;
+ void continueProcessInstance(BaseInstance *instPtr, const int error, const QDir &dir,
+ QMap<QString, QString> &groupMap);
+
protected:
QString m_instDir;
QList<InstancePtr> m_instances;