|
1 /* |
|
2 * Copyright (c) 2004 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 the License "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: Implementation of class CDdViewerApp. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 |
|
21 #include <CodDefs.h> |
|
22 #include "DdViewerApp.h" |
|
23 #include "CodDocument.h" |
|
24 |
|
25 // CONSTANTS |
|
26 |
|
27 /// UID of the application. |
|
28 LOCAL_D const TUid KCodUidDdViewerApp = { DD_VIEWER_UID }; |
|
29 |
|
30 // ================= MEMBER FUNCTIONS ======================= |
|
31 |
|
32 // --------------------------------------------------------- |
|
33 // CDdViewerApp::CDdViewerApp() |
|
34 // --------------------------------------------------------- |
|
35 // |
|
36 EXPORT_C CDdViewerApp::CDdViewerApp() |
|
37 { |
|
38 } |
|
39 |
|
40 // --------------------------------------------------------- |
|
41 // CDdViewerApp::CreateDocumentL() |
|
42 // --------------------------------------------------------- |
|
43 // |
|
44 CApaDocument* CDdViewerApp::CreateDocumentL() |
|
45 { |
|
46 return CCodDocument::NewL( *this, /*aCod=*/EFalse ); |
|
47 } |
|
48 |
|
49 // --------------------------------------------------------- |
|
50 // CDdViewerApp::AppDllUid() |
|
51 // --------------------------------------------------------- |
|
52 // |
|
53 TUid CDdViewerApp::AppDllUid() const |
|
54 { |
|
55 return KCodUidDdViewerApp; |
|
56 } |