2 * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef ACTIVE_PROCESS_INFO_H
6 #define ACTIVE_PROCESS_INFO_H
13 class ActiveProcessInfo
{
17 void SetTo(pid_t id
, const BString
& name
,
18 const BString
& currentDirectory
);
21 bool IsValid() const { return fID
>= 0; }
23 pid_t
ID() const { return fID
; }
25 const BString
& Name() const { return fName
; }
26 const BString
& CurrentDirectory() const
27 { return fCurrentDirectory
; }
32 BString fCurrentDirectory
;
37 #endif // ACTIVE_PROCESS_INFO_H