|
1 /* |
|
2 * Copyright (c) 2006 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "commonuinpdapiloader.h" |
|
20 |
|
21 // ======== MEMBER FUNCTIONS ======== |
|
22 |
|
23 // --------------------------------------------------------------------------- |
|
24 // C++ default constructor can NOT contain any code, that might leave. |
|
25 // --------------------------------------------------------------------------- |
|
26 // |
|
27 CCommonUiNpdApiLoader::CCommonUiNpdApiLoader() |
|
28 { |
|
29 } |
|
30 |
|
31 // --------------------------------------------------------------------------- |
|
32 // Symbian 2nd phase constructor can leave. |
|
33 // --------------------------------------------------------------------------- |
|
34 // |
|
35 void CCommonUiNpdApiLoader::ConstructL() |
|
36 { |
|
37 } |
|
38 |
|
39 // --------------------------------------------------------------------------- |
|
40 // Two-phased constructor. |
|
41 // --------------------------------------------------------------------------- |
|
42 // |
|
43 CCommonUiNpdApiLoader* CCommonUiNpdApiLoader::NewL() |
|
44 { |
|
45 CCommonUiNpdApiLoader* self = |
|
46 new( ELeave ) CCommonUiNpdApiLoader(); |
|
47 |
|
48 CleanupStack::PushL( self ); |
|
49 self->ConstructL(); |
|
50 CleanupStack::Pop( self ); |
|
51 |
|
52 return self; |
|
53 } |
|
54 |
|
55 // --------------------------------------------------------------------------- |
|
56 // Destructor |
|
57 // --------------------------------------------------------------------------- |
|
58 // |
|
59 CCommonUiNpdApiLoader::~CCommonUiNpdApiLoader() |
|
60 { |
|
61 } |
|
62 |
|
63 // --------------------------------------------------------------------------- |
|
64 // Sets tone for all profiles. |
|
65 // --------------------------------------------------------------------------- |
|
66 // |
|
67 void CCommonUiNpdApiLoader::SaveFileAsMemoL( const TDesC& /*aFileName*/ ) |
|
68 { |
|
69 } |
|
70 |
|
71 // --------------------------------------------------------------------------- |
|
72 // Sets tone for all profiles. |
|
73 // --------------------------------------------------------------------------- |
|
74 // |
|
75 void CCommonUiNpdApiLoader::SaveFileAsMemoL( const RFile& /*aFileHandle*/ ) |
|
76 { |
|
77 } |
|
78 |
|
79 //---------------------------------------------------------------------------- |
|
80 // Launcher gate function |
|
81 //---------------------------------------------------------------------------- |
|
82 EXPORT_C TAny* GateFunction() |
|
83 { |
|
84 CCommonUiNpdApiLoader* launcher = NULL; |
|
85 TRAPD( err, launcher = CCommonUiNpdApiLoader::NewL() ); |
|
86 if( err != KErrNone ) |
|
87 { |
|
88 return NULL; |
|
89 } |
|
90 |
|
91 return launcher; |
|
92 } |
|
93 |
|
94 // End of File |