2 * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Observer interface for memory selection.
20 #ifndef M_AKNMEMORYSELECTIONOBSERVER_H
21 #define M_AKNMEMORYSELECTIONOBSERVER_H
23 #include <CAknMemorySelectionDialog.h>
26 * Observer class that can be set to observe if selected memory
27 * e.g. has enoung free space before letting dialog exit.
29 * @lib CommonDialogs.lib
32 class MAknMemorySelectionObserver
37 // Constructors and destructor
40 * A virtual destructor to ensure that correct destructor gets called.
41 * Must have an empty implementation.
43 virtual ~MAknMemorySelectionObserver() { };
48 * Get's called when user selects a memory.
49 * @param aMemory Currently selected memory.
50 * @return Returns ETrue if it is ok to exit from dialog.
52 virtual TBool OkToExitL( CAknMemorySelectionDialog::TMemory aMemory ) = 0;
56 #endif // M_AKNMEMORYSELECTIONOBSERVER_H