vmsFDMCustomizations Class Reference

#include <FDMCustomizations.h>

List of all members.

Public Member Functions

void set_Key (int iKey)
void set_ShowFDMCustBtn (BOOL b)
BOOL get_ShowFDMCustBtn ()
void set_AffiliateID (DWORD dw)
DWORD get_AffiliateID ()
LPCSTR get_Customizer ()
void set_Customizer (LPCSTR psz)
void set_ButtonInfo (vmsFDMButton &btn)
void set_UseButton (BOOL bUse)
void RemoveAllBanners ()
vmsFDMButtonget_ButtonInfo ()
BOOL get_UseButton ()
vmsFDMBannerget_Banner (int iIndex)
int get_BannerCount ()
void AddBanner (vmsFDMBanner &banner)
void Save (HANDLE hFile)
void Load (HANDLE hFile)
void Free ()
 vmsFDMCustomizations ()
virtual ~vmsFDMCustomizations ()

Protected Member Functions

void set_DESKey (DES_KEY key)

Protected Attributes

int m_iKey
vmsXOR m_xor
vmsDES m_des
std::string m_strCustomizer
std::vector< vmsFDMBannerm_vBanners
BOOL m_bUseBtn
vmsFDMButton m_Btn
DWORD m_dwAffiliateID
BOOL m_bShowFDMCustBtn

Private Member Functions

void DecryptFile (class vmsMemFile &file)
void EncryptFile (class vmsMemFile &file)
void ReadString (class vmsMemFile &file, LPSTR *ppsz)
void WriteString (class vmsMemFile &file, LPCSTR psz)


Detailed Description

Definition at line 38 of file FDMCustomizations.h.


Constructor & Destructor Documentation

vmsFDMCustomizations::vmsFDMCustomizations (  ) 

vmsFDMCustomizations::~vmsFDMCustomizations (  )  [virtual]

Definition at line 19 of file FDMCustomizations.cpp.


Member Function Documentation

void vmsFDMCustomizations::set_Key ( int  iKey  ) 

Definition at line 277 of file FDMCustomizations.cpp.

References _pszFDMCustomizationsErr, m_iKey, and set_DESKey().

Referenced by DecryptFile().

void vmsFDMCustomizations::set_ShowFDMCustBtn ( BOOL  b  ) 

Definition at line 272 of file FDMCustomizations.cpp.

References m_bShowFDMCustBtn.

BOOL vmsFDMCustomizations::get_ShowFDMCustBtn (  ) 

Definition at line 267 of file FDMCustomizations.cpp.

References m_bShowFDMCustBtn.

void vmsFDMCustomizations::set_AffiliateID ( DWORD  dw  ) 

Definition at line 262 of file FDMCustomizations.cpp.

References m_dwAffiliateID.

DWORD vmsFDMCustomizations::get_AffiliateID (  ) 

LPCSTR vmsFDMCustomizations::get_Customizer (  ) 

Definition at line 214 of file FDMCustomizations.cpp.

References m_strCustomizer.

Referenced by fsUpdateMgr::CheckForUpdate(), Save(), and CMainFrame::UpdateTitle().

void vmsFDMCustomizations::set_Customizer ( LPCSTR  psz  ) 

Definition at line 209 of file FDMCustomizations.cpp.

References m_strCustomizer.

Referenced by Load().

void vmsFDMCustomizations::set_ButtonInfo ( vmsFDMButton btn  ) 

void vmsFDMCustomizations::set_UseButton ( BOOL  bUse  ) 

Definition at line 196 of file FDMCustomizations.cpp.

References m_bUseBtn.

void vmsFDMCustomizations::RemoveAllBanners (  ) 

Definition at line 186 of file FDMCustomizations.cpp.

References m_vBanners.

Referenced by Free().

vmsFDMButton * vmsFDMCustomizations::get_ButtonInfo (  ) 

Definition at line 181 of file FDMCustomizations.cpp.

References m_Btn.

Referenced by CMainFrame::OnFDC(), CFDCButton::OnFDC(), and CFDCButton::SetupButton().

BOOL vmsFDMCustomizations::get_UseButton (  ) 

Definition at line 176 of file FDMCustomizations.cpp.

References m_bUseBtn.

Referenced by CMainFrame::OnCreate().

vmsFDMBanner * vmsFDMCustomizations::get_Banner ( int  iIndex  ) 

Definition at line 171 of file FDMCustomizations.cpp.

References m_vBanners.

Referenced by CMainFrame::DisplayBanner().

int vmsFDMCustomizations::get_BannerCount (  ) 

Definition at line 166 of file FDMCustomizations.cpp.

References m_vBanners.

Referenced by CMainFrame::OnCreate().

void vmsFDMCustomizations::AddBanner ( vmsFDMBanner banner  ) 

Definition at line 161 of file FDMCustomizations.cpp.

References m_vBanners.

Referenced by Load().

void vmsFDMCustomizations::Save ( HANDLE  hFile  ) 

void vmsFDMCustomizations::Load ( HANDLE  hFile  ) 

void vmsFDMCustomizations::Free (  ) 

void vmsFDMCustomizations::set_DESKey ( DES_KEY  key  )  [protected]

Definition at line 219 of file FDMCustomizations.cpp.

References m_des, and vmsDES::set_Key().

Referenced by set_Key().

void vmsFDMCustomizations::DecryptFile ( class vmsMemFile file  )  [private]

void vmsFDMCustomizations::EncryptFile ( class vmsMemFile file  )  [private]

void vmsFDMCustomizations::ReadString ( class vmsMemFile file,
LPSTR ppsz 
) [private]

Definition at line 147 of file FDMCustomizations.cpp.

References NULL, and vmsMemFile::ReadFile().

Referenced by Load().

void vmsFDMCustomizations::WriteString ( class vmsMemFile file,
LPCSTR  psz 
) [private]

Definition at line 139 of file FDMCustomizations.cpp.

References vmsMemFile::WriteFile().

Referenced by Save().


Member Data Documentation

Definition at line 64 of file FDMCustomizations.h.

Referenced by Save(), and set_Key().

Definition at line 66 of file FDMCustomizations.h.

Referenced by DecryptFile(), EncryptFile(), and vmsFDMCustomizations().

Definition at line 67 of file FDMCustomizations.h.

Referenced by DecryptFile(), EncryptFile(), and set_DESKey().

std::string vmsFDMCustomizations::m_strCustomizer [protected]

Definition at line 68 of file FDMCustomizations.h.

Referenced by get_Customizer(), and set_Customizer().

Definition at line 69 of file FDMCustomizations.h.

Referenced by AddBanner(), get_Banner(), get_BannerCount(), RemoveAllBanners(), and Save().

Definition at line 70 of file FDMCustomizations.h.

Referenced by get_UseButton(), Load(), Save(), set_UseButton(), and vmsFDMCustomizations().

Definition at line 71 of file FDMCustomizations.h.

Referenced by Free(), get_ButtonInfo(), Load(), Save(), and set_ButtonInfo().


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

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