SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 - 2018 SEGS Team (see Authors.txt)
5  * This software is licensed! (See License.txt 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:
36 private:
37  Ui::UpdaterDlg *ui;
38 };
39 
40 #endif // UPDATERDLG_H
Definition: ProjectDescriptor.h:51
Definition: ProjectManifest.h:28
Definition: UpdaterDlg.h:23
~UpdaterDlg()
Definition: UpdaterDlg.cpp:27
Definition: ProjectDescriptor.h:24
UpdaterDlg(QWidget *parent=0)
Definition: UpdaterDlg.cpp:20
void projectListChanged(const std::vector< ProjectDescriptor > &projects)
Definition: UpdaterDlg.cpp:32
void requestUpdateForServer(ServerDescriptor *sd)
void onUpdateAvailable(AppVersionManifest *manifest, const QString &changelog)
Definition: UpdaterDlg.cpp:48
void onDownloadProgressed(const QString &fname, quint64 bytes, quint64 overall)
Definition: UpdaterDlg.cpp:41