SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
UpdaterDlg.h
Go to the documentation of this file.
1 /*
2  * SEGS - Super Entity Game Server
3  * http://www.segs.io/
4  * Copyright (c) 2006 - 2019 SEGS Team (see AUTHORS.md)
5  * This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details.
6  */
7 
8 #ifndef UPDATERDLG_H
9 #define UPDATERDLG_H
10 
11 #include <QDialog>
12 #include <vector>
13 
14 struct ProjectDescriptor;
15 struct ServerDescriptor;
16 class AppVersionManifest;
17 
18 namespace Ui
19 {
20  class UpdaterDlg;
21 }
22 
23 class UpdaterDlg : public QDialog
24 {
25  Q_OBJECT
26 
27 public:
28  explicit UpdaterDlg(QWidget *parent = 0);
29  ~UpdaterDlg();
30 public Q_SLOTS:
31  void projectListChanged(const std::vector<ProjectDescriptor> & projects);
32  void onDownloadProgressed(const QString &fname,quint64 bytes,quint64 overall);
33  void onUpdateAvailable(AppVersionManifest * manifest, const QString &changelog);
34 signals:
35  void requestUpdateForServer(ServerDescriptor *sd);
36 private:
37  Ui::UpdaterDlg *ui;
38 };
39 
40 #endif // UPDATERDLG_H
Definition: ProjectDescriptor.h:51
Definition: ProjectManifest.h:28
Definition: UpdaterDlg.h:23
Definition: DataPathsDialog.h:13
Definition: ProjectDescriptor.h:24