CFdmApp Class Reference

#include <FdmApp.h>

List of all members.

Public Member Functions

 CFdmApp ()
virtual BOOL InitInstance ()
virtual int ExitInstance ()
AFX_MODULE_STATE * GetModuleState ()
void SaveSettings ()
BOOL Is_Starting ()
 ~CFdmApp ()
void SaveHistory ()
afx_msg void OnAppAbout ()

Static Public Member Functions

static void ScheduleExitProcess (DWORD dwSeconds)

Public Attributes

CString m_strAppPath
fs::list< _inc_UrlToAddm_vUrlsToAdd
fs::list< _inc_UrlToAddm_vTorrentFilesToAdd

Protected Member Functions

void CheckRegistry ()
void IntegrationSettings ()
void Install_UnregisterServer ()
void Install_RegisterServer ()
BOOL RegisterServer (BOOL bGlobal)
void UninstallCustomizations ()
void CheckLocked ()
BOOL CheckFdmStartedAlready (BOOL bSetForIfEx=TRUE)
BOOL InitLanguage ()
void LoadHistory ()

Static Protected Member Functions

static DWORD WINAPI _threadExitProcess (LPVOID)
static LONG WINAPI _UEF (_EXCEPTION_POINTERS *)

Protected Attributes

BOOL m_bForceSilentSpecified
int m_nNoLngsErrReason
BOOL m_bCOMInited
BOOL m_bStarting
BOOL m_bEmbedding
BOOL m_bSaveAllOnExit
HANDLE m_hAppMutex

Private Member Functions

BOOL InitATL ()

Private Attributes

BOOL m_bATLInited
BOOL m_bATLInited2

Classes

struct  _inc_UrlToAdd


Detailed Description

Definition at line 22 of file FdmApp.h.


Constructor & Destructor Documentation

CFdmApp::CFdmApp (  ) 

Definition at line 48 of file FdmApp.cpp.

References _timeAppHasStarted, FALSE, NULL, and TRUE.

CFdmApp::~CFdmApp (  ) 

Definition at line 798 of file FdmApp.cpp.

References m_bCOMInited.


Member Function Documentation

BOOL CFdmApp::InitInstance (  )  [virtual]

Definition at line 65 of file FdmApp.cpp.

References _App, _dwAppState, _IECatchMgr, _IECMM, _Module, _NOMgr, _pszAppMutex, _SkinMgr, _Snds, _UEF(), _UpdateMgr, APPSTATE_PORTABLE_MODE, APPSTATE_PORTABLE_MODE_NOREG, b, BOOL, CheckLocked(), CheckRegistry(), fsIECatchMgr::CleanIEPluginKey(), FAILED, FALSE, fsBuildPathToFile(), fsGetDataFilePath(), fsGetPath(), fsnew1, fsAppSettings::get_SettingsStore(), HRESULT, IDR_MAINFRAME, IDS_COMPANY, IE_USERAGENT_ADDITION, InitATL(), fsOpNetIntegrationMgr::Initialize(), vmsSkinMgr::Initialize(), InitLanguage(), Install_RegisterServer(), IntegrationSettings(), fsFDMCmdLineParser::is_ForceSilentSpecified(), IS_PORTABLE_MODE, VistaFx::IsProcessElevated(), fsUpdateMgr::IsStartUpdaterNeeded(), VistaFx::IsVista(), L_CANTFINDUPDATER, L_ERR, L_NOWRITEACCESSTODATAFOLDER, VistaFx::LoadDll(), LoadHistory(), vmsAppSettingsStore::LoadSettingsFromFile(), LOG, LPVOID, LS, m_bATLInited2, m_bCOMInited, m_bForceSilentSpecified, m_bSaveAllOnExit, m_bStarting, m_hAppMutex, m_strAppPath, fsAppSettings::ModifyIEUserAgent(), MY_MAX_PATH, nl, NULL, fsFDMCmdLineParser::Parse(), PRG_NAME, fsAppSettings::Prg_StartMinimized(), vmsFilesToDelete::Process(), fsSoundsMgr::ReadSettings(), fsUpdateMgr::ReadSettings(), fsIECatchMgr::ReadSettings(), fsIEContextMenuMgr::ReadState(), RegisterServer(), fsIEUserAgent::RemovePP(), VistaFx::RunNonElevatedProcess(), fsIEUserAgent::SetPP(), fsUpdateMgr::StartUpdater(), TRUE, fsAppSettings::View_ReadWndPlacement(), and vmsSHCopyKey().

int CFdmApp::ExitInstance (  )  [virtual]

AFX_MODULE_STATE * CFdmApp::GetModuleState (  ) 

Definition at line 1152 of file FdmApp.cpp.

Referenced by UIThread::OnDoWork().

void CFdmApp::ScheduleExitProcess ( DWORD  dwSeconds  )  [static]

Definition at line 1101 of file FdmApp.cpp.

References _threadExitProcess(), LPVOID, and NULL.

Referenced by CMainFrame::OnClose().

void CFdmApp::SaveSettings (  ) 

BOOL CFdmApp::Is_Starting (  ) 

Definition at line 863 of file FdmApp.cpp.

References m_bStarting.

void CFdmApp::SaveHistory (  ) 

void CFdmApp::OnAppAbout (  ) 

Definition at line 379 of file FdmApp.cpp.

References _DlgMgr, fsDialogsMgr::OnDoModal(), and fsDialogsMgr::OnEndDialog().

void CFdmApp::CheckRegistry (  )  [protected]

Definition at line 1108 of file FdmApp.cpp.

References fsCopyKey(), fsDecodeHtmlUrl(), LOG, LONG, and nl.

Referenced by InitInstance().

DWORD WINAPI CFdmApp::_threadExitProcess ( LPVOID  lp  )  [static, protected]

Definition at line 1089 of file FdmApp.cpp.

References ASSERT, FALSE, GetLastError(), LOG, and nl.

Referenced by ScheduleExitProcess().

void CFdmApp::IntegrationSettings (  )  [protected]

Definition at line 1050 of file FdmApp.cpp.

References ASSERT, fsGetFumProgramFilesFolder(), and NULL.

Referenced by InitInstance().

void CFdmApp::Install_UnregisterServer (  )  [protected]

void CFdmApp::Install_RegisterServer (  )  [protected]

Definition at line 997 of file FdmApp.cpp.

References CFdmModule::dwThreadID, FALSE, m_bATLInited, RegisterServer(), and TRUE.

Referenced by InitATL(), and InitInstance().

BOOL CFdmApp::RegisterServer ( BOOL  bGlobal  )  [protected]

void CFdmApp::UninstallCustomizations (  )  [protected]

Definition at line 884 of file FdmApp.cpp.

References MY_MAX_PATH.

Referenced by Install_UnregisterServer().

void CFdmApp::CheckLocked (  )  [protected]

Definition at line 868 of file FdmApp.cpp.

References GetLastError(), NULL, and TRUE.

Referenced by InitInstance().

LONG CFdmApp::_UEF ( _EXCEPTION_POINTERS *  info  )  [static, protected]

BOOL CFdmApp::CheckFdmStartedAlready ( BOOL  bSetForIfEx = TRUE  )  [protected]

Definition at line 746 of file FdmApp.cpp.

References _pszAppMutex, FALSE, GetLastError(), LOG, m_hAppMutex, nl, NULL, and TRUE.

Referenced by InitATL().

BOOL CFdmApp::InitLanguage (  )  [protected]

void CFdmApp::LoadHistory (  )  [protected]

BOOL CFdmApp::InitATL (  )  [private]


Member Data Documentation

Definition at line 39 of file FdmApp.h.

Referenced by fsGetFumProgramFilesFolder(), InitInstance(), and vmsGetAppFolder().

Definition at line 48 of file FdmApp.h.

Referenced by CMainFrame::OnProceedFurherInitialization().

Definition at line 64 of file FdmApp.h.

Referenced by InitATL(), and InitInstance().

int CFdmApp::m_nNoLngsErrReason [protected]

Definition at line 66 of file FdmApp.h.

Referenced by InitLanguage().

BOOL CFdmApp::m_bCOMInited [protected]

Definition at line 70 of file FdmApp.h.

Referenced by InitInstance(), and ~CFdmApp().

BOOL CFdmApp::m_bStarting [protected]

Definition at line 76 of file FdmApp.h.

Referenced by InitInstance(), and Is_Starting().

BOOL CFdmApp::m_bEmbedding [protected]

Definition at line 81 of file FdmApp.h.

Referenced by InitATL().

BOOL CFdmApp::m_bSaveAllOnExit [protected]

Definition at line 83 of file FdmApp.h.

Referenced by ExitInstance(), and InitInstance().

HANDLE CFdmApp::m_hAppMutex [protected]

Definition at line 85 of file FdmApp.h.

Referenced by CheckFdmStartedAlready(), and InitInstance().

BOOL CFdmApp::m_bATLInited [private]

Definition at line 88 of file FdmApp.h.

Referenced by ExitInstance(), InitATL(), Install_RegisterServer(), and Install_UnregisterServer().

BOOL CFdmApp::m_bATLInited2 [private]

Definition at line 90 of file FdmApp.h.

Referenced by ExitInstance(), and InitInstance().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:20:46 2008 by  doxygen 1.5.6