summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-04-05 15:14:37 +0200
committerTannin <devnull@localhost>2014-04-05 15:14:37 +0200
commitc017f4a0d50b67a44e276bd5ae8929ed3990c62c (patch)
treebe504af55ffc99b657eca9938a4a76864e41454f /src/mainwindow.h
parentb1f1682790072fbfb45bd9eaa3c6890edfb81a22 (diff)
- added buttons to backup and restore the modlist and pluginlist
- replaced boss integration with loot
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 23923677..c5b4a8d3 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -154,6 +154,8 @@ public:
void saveArchiveList();
+ void createStdoutPipe(HANDLE *stdOutRead, HANDLE *stdOutWrite);
+ std::string readFromPipe(HANDLE stdOutRead);
public slots:
void displayColumnSelection(const QPoint &pos);
@@ -207,8 +209,6 @@ private:
bool nexusLogin();
- void saveCurrentESPList();
-
bool testForSteam();
void startSteam();
@@ -290,11 +290,18 @@ private:
void activateProxy(bool activate);
void installTranslator(const QString &name);
+ bool createBackup(const QString &filePath, const QDateTime &time);
+ QString queryRestore(const QString &filePath);
+
private:
static const unsigned int PROBLEM_PLUGINSNOTLOADED = 1;
static const unsigned int PROBLEM_TOOMANYPLUGINS = 2;
+ static const char *PATTERN_BACKUP_GLOB;
+ static const char *PATTERN_BACKUP_REGEX;
+ static const char *PATTERN_BACKUP_DATE;
+
private:
Ui::MainWindow *ui;
@@ -574,6 +581,11 @@ private slots: // ui slots
void on_showHiddenBox_toggled(bool checked);
void on_bsaList_itemChanged(QTreeWidgetItem *item, int column);
void on_bossButton_clicked();
+
+ void on_saveButton_clicked();
+ void on_restoreButton_clicked();
+ void on_restoreModsButton_clicked();
+ void on_saveModsButton_clicked();
};
#endif // MAINWINDOW_H