|
1 /* |
|
2 * Copyright (c) 2005 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: Implementation of CDevEncUiApplication. |
|
15 * |
|
16 */ |
|
17 |
|
18 // INCLUDE FILES |
|
19 #include "DevEncLog.h" |
|
20 #include "DevEncUiDocument.h" |
|
21 #include "DevEncUiApplication.h" |
|
22 #include "DevEncUids.hrh" |
|
23 |
|
24 // ============================ MEMBER FUNCTIONS =============================== |
|
25 |
|
26 // UID for the application |
|
27 // this should correspond to the uid defined in the mmp file |
|
28 const TUid KUidDevEncUIApp = { KDevEncUiUid }; |
|
29 |
|
30 // -------------------------------------------------------------------------- |
|
31 // CDevEncUiApplication::AppDllUid() |
|
32 // Returns application UID |
|
33 // -------------------------------------------------------------------------- |
|
34 // |
|
35 TUid CDevEncUiApplication::AppDllUid() const |
|
36 { |
|
37 // Return the UID for the DevEncUI application |
|
38 return KUidDevEncUIApp; |
|
39 } |
|
40 |
|
41 // -------------------------------------------------------------------------- |
|
42 // CDevEncUiApplication::CreateDocumentL() |
|
43 // Creates CApaDocument object |
|
44 // -------------------------------------------------------------------------- |
|
45 // |
|
46 CApaDocument* CDevEncUiApplication::CreateDocumentL() |
|
47 { |
|
48 DFLOG( "CDevEncUiApplication::CreateDocumentL" ); |
|
49 // Create an DevEncUI document, and return a pointer to it |
|
50 return ( static_cast<CApaDocument*> |
|
51 ( CDevEncUiDocument::NewL( *this ) ) ); |
|
52 } |
|
53 |
|
54 // End of File |