WIP: main
This commit is contained in:
parent
f25f34565a
commit
15730b470e
52 changed files with 2438 additions and 208 deletions
24
service/server/systemservice.h
Normal file
24
service/server/systemservice.h
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue