feat: paliminary updater

- can check for need to update
- can select a version to update to
- perform update: TODO

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2023-05-30 23:03:44 -07:00
parent 954d4d701a
commit 1c91d2f242
13 changed files with 1122 additions and 3 deletions

View File

@ -41,8 +41,17 @@ class FileLinkApp : public QCoreApplication {
// friends for the purpose of limiting access to deprecated stuff
Q_OBJECT
public:
enum Status {
Starting,
Failed,
Succeeded,
Initialized
};
FileLinkApp(int& argc, char** argv);
virtual ~FileLinkApp();
Status status() const {
return m_status;
}
private:
void joinServer(QString server);
@ -50,6 +59,8 @@ class FileLinkApp : public QCoreApplication {
void runLink();
void sendResults();
Status m_status = Status::Starting;
bool m_useHardLinks = false;
QDateTime m_startTime;