#include <FDMCustomizations.h>
Definition at line 38 of file FDMCustomizations.h.
| vmsFDMCustomizations::vmsFDMCustomizations | ( | ) |
Definition at line 11 of file FDMCustomizations.cpp.
References FALSE, m_bShowFDMCustBtn, m_bUseBtn, m_dwAffiliateID, m_xor, vmsXOR::set_Key(), and TRUE.
| vmsFDMCustomizations::~vmsFDMCustomizations | ( | ) | [virtual] |
Definition at line 19 of file FDMCustomizations.cpp.
| 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 | ) |
| BOOL vmsFDMCustomizations::get_ShowFDMCustBtn | ( | ) |
| void vmsFDMCustomizations::set_AffiliateID | ( | DWORD | dw | ) |
| DWORD vmsFDMCustomizations::get_AffiliateID | ( | ) |
Definition at line 257 of file FDMCustomizations.cpp.
References m_dwAffiliateID.
Referenced by CMainFrame::OnCreate(), CDownloads_Opinions_WBEvents::OnDocumentComplete(), CDlg_SpreadHelp2::OnInitDialog(), and CDlg_SpreadHelp2::OnOK().
| 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 | ) |
Definition at line 201 of file FDMCustomizations.cpp.
References m_Btn, vmsFDMButton::pbIcon, vmsFDMButton::pszLinksTo, vmsFDMButton::pszText, and SAFE_DELETE_ARRAY.
| void vmsFDMCustomizations::set_UseButton | ( | BOOL | bUse | ) |
| void vmsFDMCustomizations::RemoveAllBanners | ( | ) |
| 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 | ) |
| void vmsFDMCustomizations::Save | ( | HANDLE | hFile | ) |
Definition at line 79 of file FDMCustomizations.cpp.
References BOOL, vmsMemFile::Done(), vmsFDMButton::dwSize, vmsFDMBanner::dwSize, EncryptFile(), FALSE, get_Customizer(), m_bShowFDMCustBtn, m_Btn, m_bUseBtn, m_dwAffiliateID, m_iKey, m_vBanners, vmsFDMButton::pbIcon, vmsFDMBanner::pbImage, vmsFDMButton::pszLinksTo, vmsFDMBanner::pszLinksTo, vmsFDMButton::pszText, vmsFDMBanner::szType, vmsMemFile::Use(), vmsMemFile::WriteFile(), and WriteString().
| void vmsFDMCustomizations::Load | ( | HANDLE | hFile | ) |
Definition at line 24 of file FDMCustomizations.cpp.
References _pszFDMCustomizationsErr, AddBanner(), BOOL, DecryptFile(), vmsFDMButton::dwSize, vmsFDMBanner::dwSize, Free(), LPSTR, m_bShowFDMCustBtn, m_Btn, m_bUseBtn, m_dwAffiliateID, vmsFDMButton::pbIcon, vmsFDMBanner::pbImage, vmsFDMButton::pszLinksTo, vmsFDMBanner::pszLinksTo, vmsFDMButton::pszText, vmsMemFile::ReadFile(), ReadString(), set_Customizer(), vmsFDMBanner::szType, TRUE, and vmsMemFile::Use().
Referenced by CMainFrame::ReadCusomizationInfo().
| void vmsFDMCustomizations::Free | ( | ) |
Definition at line 130 of file FDMCustomizations.cpp.
References m_Btn, vmsFDMButton::pbIcon, vmsFDMButton::pszLinksTo, vmsFDMButton::pszText, RemoveAllBanners(), and SAFE_DELETE_ARRAY.
Referenced by Load().
| 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] |
Definition at line 242 of file FDMCustomizations.cpp.
References vmsDES::Decrypt(), vmsXOR::Decrypt(), vmsMemFile::get_FileBuffer(), vmsMemFile::get_FileBufferSize(), m_des, m_xor, vmsMemFile::ReadFile(), and set_Key().
Referenced by Load().
| void vmsFDMCustomizations::EncryptFile | ( | class vmsMemFile & | file | ) | [private] |
Definition at line 224 of file FDMCustomizations.cpp.
References vmsXOR::Encrypt(), vmsDES::Encrypt(), vmsMemFile::get_FileBuffer(), vmsMemFile::get_FileBufferSize(), m_des, m_xor, and vmsMemFile::WriteFile().
Referenced by Save().
| 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().
int vmsFDMCustomizations::m_iKey [protected] |
vmsXOR vmsFDMCustomizations::m_xor [protected] |
Definition at line 66 of file FDMCustomizations.h.
Referenced by DecryptFile(), EncryptFile(), and vmsFDMCustomizations().
vmsDES vmsFDMCustomizations::m_des [protected] |
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().
std::vector<vmsFDMBanner> vmsFDMCustomizations::m_vBanners [protected] |
Definition at line 69 of file FDMCustomizations.h.
Referenced by AddBanner(), get_Banner(), get_BannerCount(), RemoveAllBanners(), and Save().
BOOL vmsFDMCustomizations::m_bUseBtn [protected] |
Definition at line 70 of file FDMCustomizations.h.
Referenced by get_UseButton(), Load(), Save(), set_UseButton(), and vmsFDMCustomizations().
vmsFDMButton vmsFDMCustomizations::m_Btn [protected] |
Definition at line 71 of file FDMCustomizations.h.
Referenced by Free(), get_ButtonInfo(), Load(), Save(), and set_ButtonInfo().
DWORD vmsFDMCustomizations::m_dwAffiliateID [protected] |
Definition at line 72 of file FDMCustomizations.h.
Referenced by get_AffiliateID(), Load(), Save(), set_AffiliateID(), and vmsFDMCustomizations().
BOOL vmsFDMCustomizations::m_bShowFDMCustBtn [protected] |
Definition at line 73 of file FDMCustomizations.h.
Referenced by get_ShowFDMCustBtn(), Load(), Save(), set_ShowFDMCustBtn(), and vmsFDMCustomizations().
1.5.6