24 lines
394 B
C++
24 lines
394 B
C++
#ifndef NYMEAAPPSERVICE_H
|
|
#define NYMEAAPPSERVICE_H
|
|
|
|
#include <QAndroidService>
|
|
|
|
#include "engine.h"
|
|
|
|
class NymeaAppService : public QAndroidService
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit NymeaAppService(int argc, char** argv);
|
|
|
|
private:
|
|
void sendNotification(const QString ¬ification, const QVariantMap ¶ms);
|
|
|
|
|
|
private:
|
|
Engine *m_engine = nullptr;
|
|
|
|
};
|
|
|
|
#endif // NYMEAAPPSERVICE_H
|