diff options
Diffstat (limited to 'src/envmodule.h')
| -rw-r--r-- | src/envmodule.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/envmodule.h b/src/envmodule.h index d152b840..c2829b32 100644 --- a/src/envmodule.h +++ b/src/envmodule.h @@ -136,6 +136,7 @@ public: void addChild(Process p); std::vector<Process>& children(); + const std::vector<Process>& children() const; private: DWORD m_pid; @@ -148,7 +149,9 @@ private: std::vector<Process> getRunningProcesses(); std::vector<Module> getLoadedModules(); -Process getProcessTree(HANDLE parent); +// works for both jobs and processes +// +Process getProcessTree(HANDLE h); QString getProcessName(DWORD pid); QString getProcessName(HANDLE process); |
