OLD | NEW |
1 /** | 1 /** |
2 * \file close_application.cpp | 2 * \file close_application.cpp |
3 */ | 3 */ |
4 | 4 |
5 #include <algorithm> | 5 #include <algorithm> |
6 | 6 |
7 #include "session.h" | 7 #include "session.h" |
8 #include "property.h" | 8 #include "property.h" |
9 #include "database.h" | 9 #include "database.h" |
10 #include "process.h" | 10 #include "process.h" |
11 #include "interaction.h" | 11 #include "interaction.h" |
12 #include "custom-i18n.h" | 12 #include "custom-i18n.h" |
13 | 13 |
14 const wchar_t * ie_names[] = { L"IExplore.exe" } ; | 14 const wchar_t * ie_names[] = { L"IExplore.exe" } ; |
15 const wchar_t * engine_names[] = { L"AdblockPlusEngine.exe" } ; | 15 const wchar_t * engine_names[] = { L"AdblockPlusEngine.exe" } ; |
16 const wchar_t * abp_module_names[] = { L"AdblockPlus32.dll", L"AdblockPlus64.dll
" } ; | 16 const wchar_t * abp_module_names[] = { L"AdblockPlus32.dll", L"AdblockPlus64.dll
" } ; |
17 | 17 |
18 | |
19 //------------------------------------------------------- | 18 //------------------------------------------------------- |
20 //------------------------------------------------------- | 19 //------------------------------------------------------- |
21 class IE_Closer | 20 class IE_Closer |
22 { | 21 { |
23 Snapshot snapshot ; | 22 Process_Snapshot snapshot ; |
24 | 23 |
25 Process_Closer ie_closer ; | 24 Process_Closer ie_closer ; |
26 | 25 |
27 Process_Closer engine_closer ; | 26 Process_Closer engine_closer ; |
28 | 27 |
29 public: | 28 public: |
30 IE_Closer() | 29 IE_Closer() |
31 : snapshot(), ie_closer( snapshot, ie_names, abp_module_names), engine_close
r( snapshot, engine_names ) | 30 : snapshot(), ie_closer( snapshot, ie_names, abp_module_names), engine_close
r( snapshot, engine_names ) |
32 {} | 31 {} |
33 | 32 |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 return TRUE ; | 450 return TRUE ; |
452 } | 451 } |
453 | 452 |
454 /** | 453 /** |
455 * Windows_List | 454 * Windows_List |
456 */ | 455 */ |
457 class Window_List { | 456 class Window_List { |
458 public: | 457 public: |
459 void enumerate_top_level(); | 458 void enumerate_top_level(); |
460 }; | 459 }; |
OLD | NEW |