mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
WIP: main
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef SYSTEMSERVICE_H
|
||||
#define SYSTEMSERVICE_H
|
||||
|
||||
#include <QCoreApplication>
|
||||
|
||||
#include "qtservice.h"
|
||||
|
||||
class LocalServer;
|
||||
|
||||
class SystemService : public QtService<QCoreApplication>
|
||||
{
|
||||
|
||||
public:
|
||||
SystemService(int argc, char** argv);
|
||||
|
||||
protected:
|
||||
void start() override;
|
||||
void stop() override;
|
||||
|
||||
private:
|
||||
LocalServer* m_localServer;
|
||||
};
|
||||
|
||||
#endif // SYSTEMSERVICE_H
|
||||
Reference in New Issue
Block a user