mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-15 01:10:52 +08:00
9697f95b8f
This reverts commit 15d999759e
.
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&);
|
|
};
|