CAknMemorySelectionSettingPage Class Reference

API published in: S60 2nd Ed

Link against: commondialogs.lib

Capability Information

Required Capabilities

None


#include <caknmemoryselectionsettingpage.h>

Inherits CAknMemorySelectionDialog.


Detailed Description

A class that launches a popup setting page for memory selection.

Public Member Functions

IMPORT_C  ~CAknMemorySelectionSettingPage ()
IMPORT_C TReturnKey  ExecuteL (TMemory &aSelectedMemory)
  Executes the memory selection setting page.
IMPORT_C TReturnKey  ExecuteL (TMemory &aSelectedMemory, TDes *aRootPath, TDes *aDefaultFolder)
  Executes the memory selection setting page.

Static Public Member Functions

static IMPORT_C CAknMemorySelectionSettingPage NewL ()
  Static constructor.
static IMPORT_C CAknMemorySelectionSettingPage NewL (TInt aResourceId)
  Static constructor.
static IMPORT_C TBool  RunDlgLD (TMemory &aSelectedMemory, MAknMemorySelectionObserver *aObserver=NULL)
  Static methods for launching memory selection dialog Parameters & return value are descibed in method RunL.
static IMPORT_C TBool  RunDlgLD (TMemory &aSelectedMemory, const TDesC &aTitle, MAknMemorySelectionObserver *aObserver=NULL)
static IMPORT_C TBool  RunDlgLD (TMemory &aSelectedMemory, TInt aResourceId, TDes *aRootPath=NULL, TDes *aDefaultFolder=NULL, MAknMemorySelectionObserver *aObserver=NULL)

Constructor & Destructor Documentation

IMPORT_C CAknMemorySelectionSettingPage::~CAknMemorySelectionSettingPage  ) 
 

Member Function Documentation

IMPORT_C TReturnKey CAknMemorySelectionSettingPage::ExecuteL TMemory aSelectedMemory,
TDes *  aRootPath,
TDes *  aDefaultFolder
 

Executes the memory selection setting page.

Virtual to allow derivation.

Parameters:
aSelectedMemory  A reference to a memory (TMemory). If one of the memories is selected, the selected memory is stored to the parameter.
aRootPath  A pointer to a descriptor where the root path of the selected memory is stored.
aDefaultFolder  A pointer to a descriptor where the default folder of the selected memory is stored.
Returns:
Returns true if user has selected an item and false if user hits cancel.
IMPORT_C TReturnKey CAknMemorySelectionSettingPage::ExecuteL TMemory aSelectedMemory  ) 
 

Executes the memory selection setting page.

Virtual to allow derivation.

Parameters:
aSelectedMemory  A reference to a memory (TMemory). If one of the memories is selected, the selected memory is stored to the parameter.
Returns:
Returns true if user has selected an item and false if user hits cancel.
static IMPORT_C CAknMemorySelectionSettingPage* CAknMemorySelectionSettingPage::NewL TInt  aResourceId  )  [static]
 

Static constructor.

Parameters:
aResourceId  A resource id (MEMORYSELECTIONDIALOG).
Returns:
Returns a pointer to an instance of itself.
static IMPORT_C CAknMemorySelectionSettingPage* CAknMemorySelectionSettingPage::NewL  )  [static]
 

Static constructor.

Loads default settings.

Returns:
Returns a pointer to an instance of itself.
static IMPORT_C TBool CAknMemorySelectionSettingPage::RunDlgLD TMemory aSelectedMemory,
TInt  aResourceId,
TDes *  aRootPath = NULL,
TDes *  aDefaultFolder = NULL,
MAknMemorySelectionObserver aObserver = NULL
[static]
 
static IMPORT_C TBool CAknMemorySelectionSettingPage::RunDlgLD TMemory aSelectedMemory,
const TDesC &  aTitle,
MAknMemorySelectionObserver aObserver = NULL
[static]
 
static IMPORT_C TBool CAknMemorySelectionSettingPage::RunDlgLD TMemory aSelectedMemory,
MAknMemorySelectionObserver aObserver = NULL
[static]
 

Static methods for launching memory selection dialog Parameters & return value are descibed in method RunL.


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

Copyright © Nokia Corporation 2001-2008
Back to top