mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-04 12:59:39 +08:00
cc05b877a2
first commit acl to github
21 lines
368 B
C++
21 lines
368 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&);
|
|
};
|