ADMWizUsagePage Class Reference

Commercial usage selection page. More...

#include <LicenseWizard.h>

Inherits ADMLicenseWizPage.

Collaboration diagram for ADMWizUsagePage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ADMWizUsagePage (struct LicenseInfo *pInfo)
 Constructor for the page.

Protected Member Functions

virtual ASErr OnInitDialog ()
 Called to initialize the page.
virtual void OnBtnClicked (ASInt32 nID)
 Called when a user clicks a notification button.
virtual bool OnKillActive ()
 Called when the page is to be closed.
void UpdateControls ()
 Updates the dialog controls.

Detailed Description

Commercial usage selection page.

Definition at line 106 of file LicenseWizard.h.


Constructor & Destructor Documentation

ADMWizUsagePage::ADMWizUsagePage ( struct LicenseInfo pInfo  )  [inline]

Constructor for the page.

Parameters:
pInfo Pointer to the license information object to use

Definition at line 113 of file LicenseWizard.h.


Member Function Documentation

void ADMWizUsagePage::OnBtnClicked ( ASInt32  nID  )  [protected, virtual]

Called when a user clicks a notification button.

Parameters:
nID ID of clicked button

Reimplemented from ADMBaseWizPage.

Definition at line 236 of file LicenseWizard.cpp.

References UpdateControls().

ASErr ADMWizUsagePage::OnInitDialog (  )  [protected, virtual]

Called to initialize the page.

Returns:
kNoErr if all went well, an error code if failed

Reimplemented from ADMBaseWizPage.

Definition at line 199 of file LicenseWizard.cpp.

References ADMBaseDialog::AddNotifyRange(), GetDescriptionFromField(), LicenseInfo::m_bCommercialUse, ADMLicenseWizPage::m_pInfo, ADMBaseDialog::SetCheck(), ADMBaseDialog::SetControlText(), and UpdateControls().

bool ADMWizUsagePage::OnKillActive (  )  [protected, virtual]

Called when the page is to be closed.

Returns:
true if the page is allowed to close, false if not

Reimplemented from ADMBaseWizPage.

Definition at line 250 of file LicenseWizard.cpp.

References ADMBaseDialog::GetSelectedRadio(), LicenseInfo::m_bCommercialUse, and ADMLicenseWizPage::m_pInfo.


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

Generated on Thu Dec 17 17:37:10 2009 for CCInfo PDF Plugin by doxygen 1.6.1