fsUpdateMgr Class Reference

#include <fsUpdateMgr.h>

List of all members.

Public Member Functions

void CheckForUpdate (bool bByUser)
void Update (BOOL bByFull)
BOOL StartUpdater ()
BOOL IsStartUpdaterNeeded (BOOL bUpdaterWillBeLaunchedNow=TRUE)
void UpdateOnNextStart ()
fs::list< CString > * GetWhatNew ()
LPCSTR GetUpgSize ()
LPCSTR GetFullSize ()
void Stop ()
LPCSTR GetBuildNumber ()
LPCSTR GetVersion ()
BOOL IsRunning ()
void SetDescEventsFunc (fntUpdateMgrDescEvents pfn, LPVOID lpParam)
void SetEventsFunc (fntUpdateMgrEventsFunc pfn, LPVOID lp)
void ReadSettings ()
void SaveSettings ()
 fsUpdateMgr ()
virtual ~fsUpdateMgr ()

Public Attributes

vmsAutoUpdateType m_enAUT
CString m_strUpdateUrl
fsDownloadMgrm_dldr

Protected Member Functions

void Event (LPCSTR pszEvent)
void Event (fsUpdateMgrEvent ev)
void ProcessUpdateLstFile ()

Static Protected Member Functions

static void FixIniFileFor9x (LPCSTR pszIni)
static void _DownloadMgrDescEvents (fsDownloadMgr *pMgr, fsDownloadMgr_EventDescType enType, LPCSTR pszDesc, LPVOID lp)
static DWORD _DownloadMgrEvents (fsDownloadMgr *pMgr, fsDownloaderEvent, UINT, LPVOID lp)

Protected Attributes

bool m_bCheckingByUser
CString m_strUpdateFile
LPVOID m_lpEventsParam
fntUpdateMgrEventsFunc m_pfnEvents
LPVOID m_lpDescEventsParam
fntUpdateMgrDescEvents m_pfnDescEvents
CString m_strDlFullInstallPath
CString m_strDlUpgradesPath
CString m_strUpgSize
CString m_strUpgFileName
CString m_strFullSize
CString m_strVersion
CString m_strBN
fs::list< CString > m_vWN
BOOL m_bChecking
BOOL m_bRunning

Friends

class CPrg_UpdatePage


Detailed Description

Definition at line 34 of file fsUpdateMgr.h.


Constructor & Destructor Documentation

fsUpdateMgr::fsUpdateMgr (  ) 

Definition at line 18 of file fsUpdateMgr.cpp.

References FALSE, m_bRunning, m_pfnDescEvents, m_pfnEvents, and NULL.

fsUpdateMgr::~fsUpdateMgr (  )  [virtual]

Definition at line 25 of file fsUpdateMgr.cpp.

References m_dldr, and SAFE_DELETE.


Member Function Documentation

void fsUpdateMgr::CheckForUpdate ( bool  bByUser  ) 

void fsUpdateMgr::Update ( BOOL  bByFull  ) 

BOOL fsUpdateMgr::StartUpdater (  ) 

BOOL fsUpdateMgr::IsStartUpdaterNeeded ( BOOL  bUpdaterWillBeLaunchedNow = TRUE  ) 

Definition at line 417 of file fsUpdateMgr.cpp.

References m_strUpdateFile.

Referenced by CFdmApp::InitInstance(), and CMainFrame::OnUpdate().

void fsUpdateMgr::UpdateOnNextStart (  ) 

Definition at line 412 of file fsUpdateMgr.cpp.

References m_strUpdateFile.

Referenced by CUpdateDlg::OnUpdateDone().

fs::list< CString > * fsUpdateMgr::GetWhatNew (  ) 

Definition at line 346 of file fsUpdateMgr.cpp.

References m_vWN.

Referenced by CUpdateDlg::OnDesc().

LPCSTR fsUpdateMgr::GetUpgSize (  ) 

Definition at line 341 of file fsUpdateMgr.cpp.

References m_strUpgSize.

Referenced by CUpdateDlg::ShowUpdateInfo().

LPCSTR fsUpdateMgr::GetFullSize (  ) 

Definition at line 336 of file fsUpdateMgr.cpp.

References m_strFullSize.

Referenced by CUpdateDlg::ShowUpdateInfo().

void fsUpdateMgr::Stop (  ) 

LPCSTR fsUpdateMgr::GetBuildNumber (  ) 

Definition at line 323 of file fsUpdateMgr.cpp.

References m_strBN.

Referenced by CUpdateDlg::_UpdateMgrEvents(), and CUpdateDlg::ShowUpdateInfo().

LPCSTR fsUpdateMgr::GetVersion (  ) 

BOOL fsUpdateMgr::IsRunning (  ) 

void fsUpdateMgr::SetDescEventsFunc ( fntUpdateMgrDescEvents  pfn,
LPVOID  lpParam 
)

void fsUpdateMgr::SetEventsFunc ( fntUpdateMgrEventsFunc  pfn,
LPVOID  lp 
)

void fsUpdateMgr::ReadSettings (  ) 

void fsUpdateMgr::SaveSettings (  ) 

void fsUpdateMgr::FixIniFileFor9x ( LPCSTR  pszIni  )  [static, protected]

Definition at line 425 of file fsUpdateMgr.cpp.

References FALSE, GetFileSize(), LPSTR, and NULL.

Referenced by ProcessUpdateLstFile().

void fsUpdateMgr::Event ( LPCSTR  pszEvent  )  [protected]

void fsUpdateMgr::_DownloadMgrDescEvents ( fsDownloadMgr pMgr,
fsDownloadMgr_EventDescType  enType,
LPCSTR  pszDesc,
LPVOID  lp 
) [static, protected]

Definition at line 394 of file fsUpdateMgr.cpp.

References Event().

Referenced by CheckForUpdate(), and Update().

void fsUpdateMgr::Event ( fsUpdateMgrEvent  ev  )  [protected]

Definition at line 301 of file fsUpdateMgr.cpp.

References m_lpEventsParam, and m_pfnEvents.

void fsUpdateMgr::ProcessUpdateLstFile (  )  [protected]

DWORD fsUpdateMgr::_DownloadMgrEvents ( fsDownloadMgr pMgr,
fsDownloaderEvent  ev,
UINT  uInfo,
LPVOID  lp 
) [static, protected]


Friends And Related Function Documentation

friend class CPrg_UpdatePage [friend]

Definition at line 36 of file fsUpdateMgr.h.


Member Data Documentation

Definition at line 80 of file fsUpdateMgr.h.

Referenced by CheckForUpdate().

CString fsUpdateMgr::m_strUpdateFile [protected]

Definition at line 85 of file fsUpdateMgr.h.

Referenced by Event(), and SetEventsFunc().

Definition at line 86 of file fsUpdateMgr.h.

Referenced by Event(), fsUpdateMgr(), and SetEventsFunc().

Definition at line 87 of file fsUpdateMgr.h.

Referenced by Event(), and SetDescEventsFunc().

Definition at line 88 of file fsUpdateMgr.h.

Referenced by Event(), fsUpdateMgr(), and SetDescEventsFunc().

Definition at line 91 of file fsUpdateMgr.h.

Referenced by CPrg_UpdatePage::OnApply(), ProcessUpdateLstFile(), ReadSettings(), and Update().

CString fsUpdateMgr::m_strDlUpgradesPath [protected]

Definition at line 92 of file fsUpdateMgr.h.

Referenced by CPrg_UpdatePage::OnApply(), ProcessUpdateLstFile(), ReadSettings(), and Update().

CString fsUpdateMgr::m_strUpgSize [protected]

Definition at line 94 of file fsUpdateMgr.h.

Referenced by GetUpgSize(), and ProcessUpdateLstFile().

CString fsUpdateMgr::m_strUpgFileName [protected]

Definition at line 94 of file fsUpdateMgr.h.

Referenced by ProcessUpdateLstFile(), and Update().

CString fsUpdateMgr::m_strFullSize [protected]

Definition at line 95 of file fsUpdateMgr.h.

Referenced by GetFullSize(), and ProcessUpdateLstFile().

CString fsUpdateMgr::m_strVersion [protected]

Definition at line 96 of file fsUpdateMgr.h.

Referenced by GetVersion(), and ProcessUpdateLstFile().

CString fsUpdateMgr::m_strBN [protected]

Definition at line 97 of file fsUpdateMgr.h.

Referenced by GetBuildNumber(), ProcessUpdateLstFile(), and Update().

fs::list<CString> fsUpdateMgr::m_vWN [protected]

Definition at line 98 of file fsUpdateMgr.h.

Referenced by GetWhatNew(), and ProcessUpdateLstFile().

BOOL fsUpdateMgr::m_bChecking [protected]

Definition at line 101 of file fsUpdateMgr.h.

Referenced by _DownloadMgrEvents(), CheckForUpdate(), and Update().

BOOL fsUpdateMgr::m_bRunning [protected]


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

Generated on Sun May 25 00:21:10 2008 by  doxygen 1.5.6