AmdaProvider.h
30 lines
| 706 B
| text/x-c
|
CLexer
Alexandre Leroux
|
r348 | #ifndef SCIQLOP_AMDAPROVIDER_H | ||
#define SCIQLOP_AMDAPROVIDER_H | ||||
#include "AmdaGlobal.h" | ||||
#include <Data/IDataProvider.h> | ||||
#include <QLoggingCategory> | ||||
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaProvider) | ||||
r358 | class QNetworkReply; | |||
Alexandre Leroux
|
r348 | /** | ||
* @brief The AmdaProvider class is an example of how a data provider can generate data | ||||
*/ | ||||
class SCIQLOP_AMDA_EXPORT AmdaProvider : public IDataProvider { | ||||
public: | ||||
explicit AmdaProvider(); | ||||
Alexandre Leroux
|
r375 | void requestDataLoading(QUuid token, const DataProviderParameters ¶meters) override; | ||
Alexandre Leroux
|
r348 | |||
r388 | void requestDataAborting(QUuid identifier) override; | |||
Alexandre Leroux
|
r348 | private: | ||
Alexandre Leroux
|
r380 | void retrieveData(QUuid token, const SqpDateTime &dateTime, const QVariantHash &data); | ||
Alexandre Leroux
|
r348 | }; | ||
#endif // SCIQLOP_AMDAPROVIDER_H | ||||