mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-03 04:17:52 +08:00
21 lines
388 B
C++
21 lines
388 B
C++
#pragma once
|
|
#include "lib_acl.h"
|
|
#include "ProcService.h"
|
|
|
|
class CProcCtrl
|
|
{
|
|
public:
|
|
CProcCtrl(void);
|
|
~CProcCtrl(void);
|
|
void RunThread(void);
|
|
private:
|
|
char m_exePath[MAX_PATH];
|
|
char m_logPath[MAX_PATH];
|
|
char m_procName[MAX_PATH];
|
|
CProcService m_service;
|
|
static void *StartThread(void*);
|
|
public:
|
|
void StartOne(CProcService&);
|
|
void StopOne(CProcService&);
|
|
};
|