Initial FTB support. Allows "tracking" of FTB instances.
This commit is contained in:

committed by
Petr Mrázek

parent
34a3fedf7b
commit
82c87aa06f
@ -25,6 +25,8 @@
|
||||
|
||||
class BaseInstance;
|
||||
|
||||
class QDir;
|
||||
|
||||
class InstanceList : public QAbstractListModel
|
||||
{
|
||||
Q_OBJECT
|
||||
@ -65,11 +67,6 @@ public:
|
||||
return m_instDir;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Loads the instance list. Triggers notifications.
|
||||
*/
|
||||
InstListError loadList();
|
||||
|
||||
/*!
|
||||
* \brief Get the instance at index
|
||||
*/
|
||||
@ -108,6 +105,11 @@ public
|
||||
slots:
|
||||
void on_InstFolderChanged(const Setting &setting, QVariant value);
|
||||
|
||||
/*!
|
||||
* \brief Loads the instance list. Triggers notifications.
|
||||
*/
|
||||
InstListError loadList();
|
||||
|
||||
private
|
||||
slots:
|
||||
void propertiesChanged(BaseInstance *inst);
|
||||
@ -117,6 +119,8 @@ 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;
|
||||
|
Reference in New Issue
Block a user