mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-23 23:54: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
|