File: processwrapper.hh

package info (click to toggle)
goldendict-webengine 23.02.05-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 19,148 kB
  • sloc: cpp: 58,537; javascript: 9,942; ansic: 9,242; xml: 41; makefile: 15; 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