OLD | NEW |
1 /** | 1 /** |
2 * \file process.h | 2 * \file process.h |
3 */ | 3 */ |
4 | 4 |
5 #ifndef PROCESS_H | 5 #ifndef PROCESS_H |
6 #define PROCESS_H | 6 #define PROCESS_H |
7 | 7 |
8 #include "installer-lib.h" | 8 #include "installer-lib.h" |
9 #include "handle.h" | 9 #include "handle.h" |
| 10 #include "session.h" |
10 | 11 |
11 #include <string> | 12 #include <string> |
12 #include <cctype> | 13 #include <cctype> |
13 #include <vector> | 14 #include <vector> |
14 #include <set> | 15 #include <set> |
15 #include <algorithm> | 16 #include <algorithm> |
16 #include <memory> | 17 #include <memory> |
17 | 18 |
18 #include <Windows.h> | 19 #include <Windows.h> |
19 #include <TlHelp32.h> | 20 #include <TlHelp32.h> |
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 template< class F > | 680 template< class F > |
680 bool iterate_our_windows( F f ) | 681 bool iterate_our_windows( F f ) |
681 { | 682 { |
682 only_our_processes< F > g( * this, f ) ; | 683 only_our_processes< F > g( * this, f ) ; |
683 return enumerate_windows( g ) ; | 684 return enumerate_windows( g ) ; |
684 } | 685 } |
685 | 686 |
686 /* | 687 /* |
687 * Shut down every process in the pid_set. | 688 * Shut down every process in the pid_set. |
688 */ | 689 */ |
689 bool ShutDown() ; | 690 bool ShutDown(ImmediateSession& session); |
690 | 691 |
691 } ; | 692 } ; |
692 | 693 |
693 #endif | 694 #endif |
OLD | NEW |