goldendict-ng/processwrapper.hh
2010-05-15 16:42:18 +04:00

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