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