52 void handleReceiveData(
const QHash<QString, Feature> &data)
override;
58 QSet<Feature> supportedFeatures()
override;
65 bool sendResuylt(
const QVariantMap &result);
72 bool sendResuylt(
const QString &result);
79 bool sendRawResuylt(
const QByteArray &result);
94 void onStop()
override;
99 void onResume()
override;
104 void onPause()
override;
116 QCoreApplication *core();
122 void setCore(QCoreApplication *core);
126 void printDefaultHelp();
128 ServicePrivate *d_ptr =
nullptr;
134 QCoreApplication *_core =
nullptr;
#define PATRONUM_LIBRARYSHARED_EXPORT
The Controller class provide control functionality for your service.
The IService class is base interface of the service.
The ServiceBase class This is Base service class. Please for create your own services use the Patronu...
virtual void createApplication()=0
createApplication Default implementation create a Application object and parse arguments.
bool onStart() override=0
onStart Called when get start command from terminal. Override this method work correctly work of serv...
The Patronum namespace - It is main name space of Patronum Library. The Patronum library support the ...