mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 13:24:05 +00:00
15 lines
316 B
C++
15 lines
316 B
C++
#ifndef PROCESSWRAPPER_H
|
|
#define PROCESSWRAPPER_H
|
|
|
|
class ProcessWrapper
|
|
{
|
|
public:
|
|
ProcessWrapper();
|
|
|
|
static unsigned int findProcess(const char *name, unsigned int pid_skip = 0);
|
|
static unsigned int currentProcessId();
|
|
static bool processExists(unsigned int pid);
|
|
};
|
|
|
|
#endif // PROCESSWRAPPER_H
|