classicui_pub/common_file_dialogs_api/tsrc/inc/testsdkcfdmaknmemoryselectionobserver.h
equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: observer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_TESTSDKCFDMAKNMEMORYSELECTIONOBSERVER_H |
|
20 #define C_TESTSDKCFDMAKNMEMORYSELECTIONOBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <maknmemoryselectionobserver.h> |
|
24 |
|
25 class CTestSDKCFDMAknMemorySelectionOberver : public CBase, public MAknMemorySelectionObserver |
|
26 { |
|
27 public: |
|
28 |
|
29 /** |
|
30 * Two-phased constructor. |
|
31 */ |
|
32 static CTestSDKCFDMAknMemorySelectionOberver* NewL(); |
|
33 |
|
34 /** |
|
35 * Get's called when user selects a memory. |
|
36 * @param aMemory Currently selected memory. |
|
37 * @return Returns ETrue if it is ok to exit from dialog. |
|
38 */ |
|
39 TBool OkToExitL( CAknMemorySelectionDialog::TMemory aMemory ); |
|
40 |
|
41 /** |
|
42 * Destructor. |
|
43 */ |
|
44 virtual ~CTestSDKCFDMAknMemorySelectionOberver(); |
|
45 |
|
46 private: |
|
47 |
|
48 /** |
|
49 * By default Symbian 2nd phase constructor is private. |
|
50 */ |
|
51 void ConstructL(); |
|
52 |
|
53 /** |
|
54 * C++ default constructor. |
|
55 */ |
|
56 CTestSDKCFDMAknMemorySelectionOberver(); |
|
57 |
|
58 }; |
|
59 |
|
60 #endif /*C_TESTSDKCFDMAKNMEMORYSELECTIONOBSERVER_H*/ |
|
61 |
|
62 |
|
63 |
|