equal
deleted
inserted
replaced
18 #ifndef XQSERVICEPROVIDER_H |
18 #ifndef XQSERVICEPROVIDER_H |
19 #define XQSERVICEPROVIDER_H |
19 #define XQSERVICEPROVIDER_H |
20 |
20 |
21 #include <QObject> |
21 #include <QObject> |
22 #include <QString> |
22 #include <QString> |
|
23 #include "xqrequestinfo.h" |
23 |
24 |
24 class XQServiceProvider : public QObject |
25 class XQServiceProvider : public QObject |
25 { |
26 { |
26 Q_OBJECT |
27 Q_OBJECT |
27 public: |
28 public: |
29 virtual ~XQServiceProvider() {} |
30 virtual ~XQServiceProvider() {} |
30 protected: |
31 protected: |
31 virtual void publishAll(){} |
32 virtual void publishAll(){} |
32 bool completeRequest(int index, const QVariant &retValue) {return true;} |
33 bool completeRequest(int index, const QVariant &retValue) {return true;} |
33 int setCurrentRequestAsync() {return 0;} |
34 int setCurrentRequestAsync() {return 0;} |
34 |
35 XQRequestInfo requestInfo() const {return XQRequestInfo();} |
35 }; |
36 }; |
36 |
37 |
37 #endif // XQSERVICEPROVIDER_H |
38 #endif // XQSERVICEPROVIDER_H |