equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009-2010 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: |
|
15 * Main application class |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 // INCLUDE FILES |
|
23 #include "ADM.hrh" |
|
24 #include "ADMDocument.h" |
|
25 #include "ADMApplication.h" |
|
26 |
|
27 // ============================ MEMBER FUNCTIONS =============================== |
|
28 |
|
29 // ----------------------------------------------------------------------------- |
|
30 // CADMApplication::CreateDocumentL() |
|
31 // Creates CApaDocument object |
|
32 // ----------------------------------------------------------------------------- |
|
33 // |
|
34 CApaDocument* CADMApplication::CreateDocumentL() |
|
35 { |
|
36 // Create an ADM document, and return a pointer to it |
|
37 return CADMDocument::NewL(*this); |
|
38 } |
|
39 |
|
40 // ----------------------------------------------------------------------------- |
|
41 // CADMApplication::AppDllUid() |
|
42 // Returns application UID |
|
43 // ----------------------------------------------------------------------------- |
|
44 // |
|
45 TUid CADMApplication::AppDllUid() const |
|
46 { |
|
47 // Return the UID for the ADM application |
|
48 return KUidADMApp; |
|
49 } |
|
50 |
|
51 // End of File |