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 // INCLUDE FILES |
|
20 #include "testsdkcfdmaknmemoryselectionobserver.h" |
|
21 |
|
22 // ============================ MEMBER FUNCTIONS =============================== |
|
23 |
|
24 // ----------------------------------------------------------------------------- |
|
25 // CTestSDKCFDMAknMemorySelectionOberver::CTestSDKCFDMAknMemorySelectionOberver |
|
26 // C++ default constructor can NOT contain any code, that |
|
27 // might leave. |
|
28 // ----------------------------------------------------------------------------- |
|
29 // |
|
30 CTestSDKCFDMAknMemorySelectionOberver::CTestSDKCFDMAknMemorySelectionOberver() |
|
31 { |
|
32 } |
|
33 |
|
34 // ----------------------------------------------------------------------------- |
|
35 // Destructor |
|
36 // ----------------------------------------------------------------------------- |
|
37 // |
|
38 CTestSDKCFDMAknMemorySelectionOberver::~CTestSDKCFDMAknMemorySelectionOberver() |
|
39 { |
|
40 } |
|
41 |
|
42 // ----------------------------------------------------------------------------- |
|
43 // Get's called when user selects a memory. |
|
44 // ----------------------------------------------------------------------------- |
|
45 // |
|
46 TBool CTestSDKCFDMAknMemorySelectionOberver::OkToExitL( |
|
47 CAknMemorySelectionDialog::TMemory /*aMemory*/ ) |
|
48 { |
|
49 return ETrue; |
|
50 } |
|
51 |
|
52 // ----------------------------------------------------------------------------- |
|
53 // CTestSDKCFDMAknMemorySelectionOberver::NewL |
|
54 // Two-phased constructor. |
|
55 // ----------------------------------------------------------------------------- |
|
56 // |
|
57 CTestSDKCFDMAknMemorySelectionOberver* CTestSDKCFDMAknMemorySelectionOberver::NewL() |
|
58 { |
|
59 CTestSDKCFDMAknMemorySelectionOberver* self = new( ELeave ) CTestSDKCFDMAknMemorySelectionOberver; |
|
60 CleanupStack::PushL(self); |
|
61 self->ConstructL(); |
|
62 CleanupStack::Pop(self); |
|
63 return self; |
|
64 } |
|
65 |
|
66 // ----------------------------------------------------------------------------- |
|
67 // CTestSDKCFDMAknMemorySelectionOberver::ConstructL |
|
68 // Symbian 2nd phase constructor can leave. |
|
69 // ----------------------------------------------------------------------------- |
|
70 // |
|
71 void CTestSDKCFDMAknMemorySelectionOberver::ConstructL() |
|
72 { |
|
73 } |
|
74 |
|