#include <fsIECatchMgr.h>
Public Member Functions | |
| BOOL | IsMonitoringDllRegistered () |
| HRESULT | Initialize () |
| BOOL | ActivateIE2 (BOOL bActivate=TRUE) |
| BOOL | IsIE2Active () |
| void | SetEventsFunc (fntIECatchMgrEvents pfn, LPVOID lpParam) |
| BOOL | IsActive () |
| void | Detach () |
| void | ReadSettings () |
| fsIECatchMgr () | |
| virtual | ~fsIECatchMgr () |
Static Public Member Functions | |
| static void | CleanIEPluginKey () |
Protected Member Functions | |
| void | Event (fsIECatchMgrEvent ev) |
| BOOL | OnBeforeNavigate (LPCSTR pszUrl, BOOL bCheckALT=TRUE) |
Static Protected Member Functions | |
| static DWORD WINAPI | _threadMonitorIEActivity (LPVOID lp) |
Protected Attributes | |
| bool | m_bNeedStop |
| bool | m_bMonitorIEActivityRunning |
| fntIECatchMgrEvents | m_pfnEvents |
| LPVOID | m_lpEventsParam |
| BOOL | m_bCatchClicks |
| int | m_cIEDLs |
| BOOL | m_bALTShouldPressed |
| CString | m_strSkipExts |
Friends | |
| class | fsClipboardCatchMgr |
Definition at line 21 of file fsIECatchMgr.h.
| fsIECatchMgr::fsIECatchMgr | ( | ) |
Definition at line 26 of file fsIECatchMgr.cpp.
References m_bMonitorIEActivityRunning, m_bNeedStop, m_pfnEvents, and NULL.
| fsIECatchMgr::~fsIECatchMgr | ( | ) | [virtual] |
Definition at line 33 of file fsIECatchMgr.cpp.
References m_bMonitorIEActivityRunning, and m_bNeedStop.
| BOOL fsIECatchMgr::IsMonitoringDllRegistered | ( | ) |
Definition at line 254 of file fsIECatchMgr.cpp.
References ActivateIE2(), CLSID_IEWGDM, CLSID_WgBHO, HRESULT, NULL, and TRUE.
Referenced by IsIE2Active(), and CDownloaderProperties_MonitorPage::OnApply().
| void fsIECatchMgr::CleanIEPluginKey | ( | ) | [static] |
Definition at line 225 of file fsIECatchMgr.cpp.
References NULL.
Referenced by CFdmApp::InitInstance().
| HRESULT fsIECatchMgr::Initialize | ( | ) |
Definition at line 40 of file fsIECatchMgr.cpp.
References _threadMonitorIEActivity(), m_bMonitorIEActivityRunning, NULL, and S_OK.
Referenced by CMainFrame::OnProceedFurherInitialization().
| BOOL fsIECatchMgr::ActivateIE2 | ( | BOOL | bActivate = TRUE |
) |
Definition at line 143 of file fsIECatchMgr.cpp.
References FAILED, FALSE, GetIEVersion(), NULL, and TRUE.
Referenced by CFdmApp::Install_UnregisterServer(), IsMonitoringDllRegistered(), CDownloaderProperties_MonitorPage::OnApply(), CMainFrame::OnMonitorbrowser(), CFdmApp::RegisterServer(), and CMainFrame::UpdateSettings().
| BOOL fsIECatchMgr::IsIE2Active | ( | ) |
Definition at line 122 of file fsIECatchMgr.cpp.
References _App, FALSE, IsMonitoringDllRegistered(), fsAppSettings::Monitor_IE2(), and TRUE.
Referenced by CDownloaderProperties_MonitorPage::OnApply(), and CDownloaderProperties_MonitorPage::OnInitDialog().
| void fsIECatchMgr::SetEventsFunc | ( | fntIECatchMgrEvents | pfn, | |
| LPVOID | lpParam | |||
| ) |
Definition at line 110 of file fsIECatchMgr.cpp.
References m_lpEventsParam, and m_pfnEvents.
Referenced by fsDownloadsMgr::AttachToIECatchMgr().
| BOOL fsIECatchMgr::IsActive | ( | ) |
| void fsIECatchMgr::Detach | ( | ) |
| void fsIECatchMgr::ReadSettings | ( | ) |
Definition at line 93 of file fsIECatchMgr.cpp.
References _App, FALSE, m_bALTShouldPressed, m_bCatchClicks, m_strSkipExts, fsAppSettings::Monitor_ALTShouldPressed(), and fsAppSettings::Monitor_SkipExts().
Referenced by CFdmApp::InitInstance(), CDownloaderProperties_MonitorPage::OnApply(), and CMainFrame::UpdateSettings().
| DWORD WINAPI fsIECatchMgr::_threadMonitorIEActivity | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 278 of file fsIECatchMgr.cpp.
References Event(), ICME_DLCOMPLETED, ICME_DLSTARTED, m_bMonitorIEActivityRunning, m_bNeedStop, and NULL.
Referenced by Initialize().
| void fsIECatchMgr::Event | ( | fsIECatchMgrEvent | ev | ) | [protected] |
Definition at line 116 of file fsIECatchMgr.cpp.
References m_lpEventsParam, and m_pfnEvents.
Referenced by _threadMonitorIEActivity().
| BOOL fsIECatchMgr::OnBeforeNavigate | ( | LPCSTR | pszUrl, | |
| BOOL | bCheckALT = TRUE | |||
| ) | [protected] |
Definition at line 50 of file fsIECatchMgr.cpp.
References BOOL, fsURL::Crack(), CDownloadsWnd::CreateDownload(), FALSE, fsFileNameFromUrlPath(), fsURL::GetInternetScheme(), fsURL::GetPath(), INTERNET_SCHEME_FTP, IR_SUCCESS, IsExtInExtsStr(), m_bALTShouldPressed, m_strSkipExts, MY_MAX_PATH, and TRUE.
Referenced by fsClipboardCatchMgr::OnDrawClipboard().
friend class fsClipboardCatchMgr [friend] |
Definition at line 23 of file fsIECatchMgr.h.
bool fsIECatchMgr::m_bNeedStop [protected] |
Definition at line 46 of file fsIECatchMgr.h.
Referenced by _threadMonitorIEActivity(), fsIECatchMgr(), and ~fsIECatchMgr().
bool fsIECatchMgr::m_bMonitorIEActivityRunning [protected] |
Definition at line 48 of file fsIECatchMgr.h.
Referenced by _threadMonitorIEActivity(), fsIECatchMgr(), Initialize(), IsActive(), and ~fsIECatchMgr().
fntIECatchMgrEvents fsIECatchMgr::m_pfnEvents [protected] |
Definition at line 53 of file fsIECatchMgr.h.
Referenced by Event(), fsIECatchMgr(), and SetEventsFunc().
LPVOID fsIECatchMgr::m_lpEventsParam [protected] |
BOOL fsIECatchMgr::m_bCatchClicks [protected] |
int fsIECatchMgr::m_cIEDLs [protected] |
Definition at line 58 of file fsIECatchMgr.h.
BOOL fsIECatchMgr::m_bALTShouldPressed [protected] |
CString fsIECatchMgr::m_strSkipExts [protected] |
1.5.6