Patronum/Tests/defaultservice.h
2021-03-26 17:20:17 +03:00

22 lines
459 B
C++

#ifndef DEFAULTSERVICE_H
#define DEFAULTSERVICE_H
#include <patronum.h>
#include <QCoreApplication>
class DefaultService : public Patronum::Service<QCoreApplication>
{
public:
DefaultService();
// QtServiceBase interface
protected:
void onStart() override;
// IService interface
public:
bool handleReceive(const Patronum::Feature &data) override;
QSet<Patronum::Feature> supportedFeatures() override;
};
#endif // DEFAULTSERVICE_H