| 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
" } ; | |
| 17 | 16 |
| 18 //------------------------------------------------------- | 17 //------------------------------------------------------- |
| 19 //------------------------------------------------------- | 18 //------------------------------------------------------- |
| 20 class IE_Closer | 19 class IE_Closer |
| 21 { | 20 { |
| 22 Process_Snapshot snapshot ; | 21 Process_Snapshot snapshot ; |
| 23 | 22 |
| 24 Process_Closer ie_closer ; | 23 Process_Closer ie_closer ; |
| 25 | 24 |
| 26 Process_Closer engine_closer ; | 25 Process_Closer engine_closer ; |
| 27 | 26 |
| 28 public: | 27 public: |
| 29 IE_Closer() | 28 IE_Closer() |
| 30 : snapshot(), ie_closer( snapshot, ie_names, abp_module_names), engine_close
r( snapshot, engine_names ) | 29 : snapshot(), ie_closer( snapshot, ie_names), engine_closer( snapshot, engin
e_names ) |
| 31 {} | 30 {} |
| 32 | 31 |
| 33 void refresh() | 32 void refresh() |
| 34 { | 33 { |
| 35 snapshot.refresh() ; | 34 snapshot.refresh() ; |
| 36 ie_closer.refresh() ; | 35 ie_closer.refresh() ; |
| 37 engine_closer.refresh() ; | 36 engine_closer.refresh() ; |
| 38 } | 37 } |
| 39 | 38 |
| 40 bool is_running() | 39 bool is_running() |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 return TRUE ; | 449 return TRUE ; |
| 451 } | 450 } |
| 452 | 451 |
| 453 /** | 452 /** |
| 454 * Windows_List | 453 * Windows_List |
| 455 */ | 454 */ |
| 456 class Window_List { | 455 class Window_List { |
| 457 public: | 456 public: |
| 458 void enumerate_top_level(); | 457 void enumerate_top_level(); |
| 459 }; | 458 }; |
| OLD | NEW |