diff -r 558113899881 -r b3425bf29f82 classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/CVRSettingsDialogMMCSupported.h --- a/classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/inc/CVRSettingsDialogMMCSupported.h Mon May 03 12:45:33 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,107 +0,0 @@ -/* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - - - - - - - -#ifndef __CVRSETTINGSDIALOG_H__ -#define __CVRSETTINGSDIALOG_H__ - -// INCLUDES -#include -#include - -#include -#include - -// CLASS DECLARATION - -/** -* This class defines a settings dialog for the Voice Recorder application. -*/ -class CVRSettingsDialog - : public CAknDialog, - public MEikListBoxObserver - { - - public: // Constructors and destructor - - /** - * Destructor. - */ - ~CVRSettingsDialog(); - - /** - * Two-phased constructor. - */ - static CVRSettingsDialog* NewL(); - - private: // Constructors - - /** - * Default constructor. Inlined to save a few bytes. - * Parameters to array: granularity, isnumered, 1st ordinal - */ - inline CVRSettingsDialog() : iSettingItemArray( 1, EFalse, 1 ) {} - - protected: // from CEikDialog - - /** - * Tests if it is OK to exit the dialog. - * @param aButtonId The ID of the button that was activated. - * @return ETrue to validate and exit the dialog, - * EFalse to keep the dialog active. - */ - TBool OkToExitL( TInt aButtonId ); - - /** - * Pre-layout dialog initialisation. - */ - void PreLayoutDynInitL(); - - void ProcessCommandL( TInt aCommandId ); - - - public: // From MEikListBoxObserver - - /** - * Handles list box events. - * This is invoked by CEikListBox to notify the observer of - * list box events. - * @param aListBox The originating list box. - * @param aEventType A code for the event. - */ - void HandleListBoxEventL( CEikListBox* aListBox, - TListBoxEvent aEventType ); - - private: // data - - /** - * Array of setting items contained in the listbox. Owned. - */ - CAknSettingItemArray iSettingItemArray; - - /** - * Selected memo store - */ - CAknMemorySelectionDialog::TMemory iMemoStore; - }; - -#endif // __CVRSETTINGSDIALOG_H__