goldendict-ng/src/processwrapper.hh

15 lines
316 B
C++
Raw Normal View History

#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