summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
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