##// END OF EJS Templates
Add execute skelleton Network
Add execute skelleton Network

File last commit:

r356:be6d704a1f9a
r356:be6d704a1f9a
Show More
NetworkController.h
37 lines | 726 B | text/x-c | CLexer
#ifndef SCIQLOP_NETWORKCONTROLLER_H
#define SCIQLOP_NETWORKCONTROLLER_H
#include <QLoggingCategory>
#include <QObject>
#include <Common/spimpl.h>
Q_DECLARE_LOGGING_CATEGORY(LOG_NetworkController)
class QNetworkReply;
/**
* @brief The NetworkController class aims to handle all network connection of SciQlop.
*/
class NetworkController : public QObject {
Q_OBJECT
public:
explicit NetworkController(QObject *parent = 0);
void execute(QNetworkReply *reply);
void initialize();
void finalize();
signals:
replyToRead();
private:
void waitForFinish();
class NetworkControllerPrivate;
spimpl::unique_impl_ptr<NetworkControllerPrivate> impl;
};
#endif // SCIQLOP_NETWORKCONTROLLER_H