File: processwrapper.hh

package info (click to toggle)
goldendict 0.9.1~git20100719-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 8,992 kB
  • ctags: 3,672
  • sloc: cpp: 22,301; ansic: 10,244; makefile: 53; sh: 9
file content (14 lines) | stat: -rw-r--r-- 316 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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