SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
FileSignatureWorker.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 FILESIGNATUREWORKER_H
9 #define FILESIGNATUREWORKER_H
10 
11 #include <QObject>
12 
18 class FileSignatureWorker : public QObject
19 {
20  Q_OBJECT
21  class AppVersionManifest *m_manifest;
22 public:
23  explicit FileSignatureWorker(QObject *parent = 0);
24  void setDataToProcess(AppVersionManifest *m) { m_manifest= m; }
25 signals:
26  void finished();
27  void progress(QString channel,float percentage);
28  void error(QString err);
29 public slots:
30  void process();
31 };
32 
33 #endif // FILESIGNATUREWORKER_H
Definition: ProjectManifest.h:28
void process()
Definition: FileSignatureWorker.cpp:23
void progress(QString channel, float percentage)
void error(QString err)
void setDataToProcess(AppVersionManifest *m)
Definition: FileSignatureWorker.h:24
The FileSignatureWorker class is meant as a worker that calculates file hashes.
Definition: FileSignatureWorker.h:18
FileSignatureWorker(QObject *parent=0)
Definition: FileSignatureWorker.cpp:18