50 void handleReceiveData(
const QSet<Feature> &data)
override final;
56 QSet<Feature> supportedFeatures()
override;
63 bool sendResuylt(
const QVariantMap &result);
70 bool sendResuylt(
const QString &result);
85 void onStop()
override;
90 void onResume()
override;
95 void onPause()
override;
107 QCoreApplication *core();
113 void setCore(QCoreApplication *core);
117 void printDefaultHelp();
119 ServicePrivate *d_ptr =
nullptr;
125 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 ...