-changed the app name to JustMotion to match the git repository. -changed the build system away from cmake to qmake now that the app doesn't depend on openCV. -changed the build/install scripts to python based scripts which now includes the ability create an installer.
30 lines
1.3 KiB
C
30 lines
1.3 KiB
C
#ifndef SERVICES_H
|
|
#define SERVICES_H
|
|
|
|
// This file is part of JustMotion.
|
|
|
|
// JustMotion is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
|
|
// JustMotion is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
|
|
#include "common.h"
|
|
|
|
QString camCmdFromConf(shared_t *conf, CmdExeType type);
|
|
void servStatByDir(const QString &path);
|
|
void servStatByConf(const QString &confFile);
|
|
int loadService(const QString &desc, const QString &user, const QString &servName, const QString &workDir, const QString &recPath, bool start);
|
|
int loadServiceByConf(const QString &confFile, bool start);
|
|
int loadServiceByDir(const QString &path, bool start);
|
|
int rmServiceByConf(const QString &confFile);
|
|
int rmService(const QString &servName);
|
|
int rmServiceByDir(const QString &path);
|
|
int loadSh(const QString &name, const QString &exeCmd, const QString &buffDir, const QString &outDir, const QString &servUser, const QString &servGroup);
|
|
|
|
#endif // SERVICES_H
|