##// END OF EJS Templates
Modify the AmdaProvider to remove from it all network controller...
Modify the AmdaProvider to remove from it all network controller logical.

File last commit:

r356:be6d704a1f9a
r358:83c2495f8eaf
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