mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-25 01:14:07 +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
|