Patronum/Tests/defaultservice.h

22 lines
440 B
C
Raw Normal View History

2020-05-06 23:23:46 +03:00
#ifndef DEFAULTSERVICE_H
#define DEFAULTSERVICE_H
#include <patronum.h>
#include <QCoreApplication>
2020-05-06 23:23:46 +03:00
class DefaultService : public Patronum::Service<QCoreApplication>
{
public:
DefaultService();
// QtServiceBase interface
protected:
void onStart();
2020-05-06 23:23:46 +03:00
// IService interface
public:
void handleReceive(const QList<Patronum::Feature> &data);
QList<Patronum::Feature> supportedFeatures();
};
#endif // DEFAULTSERVICE_H