Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
main.cpp
1// Author: Kang Lin <kl222@126.com>
2
19#include "ServiceManager.h"
20#include "RabbitCommonTools.h"
21#include <QLoggingCategory>
22
23Q_LOGGING_CATEGORY(App, "App")
24
25int main(int argc, char *argv[])
26{
27 int nRet = 0;
28
29 try{
30 CServiceManager s(argc, argv, "RabbitRemoteControlService");
31 s.exec();
32 } catch (std::exception& e) {
33 qCritical(App) << "Exception:" << e.what();
34 }
35
36 return nRet;
37}
Manage service.