installationservices/swi/test/testexes/interpretsis_testcase/interpretsis_testcase_Application.cpp
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // HelloWorld_CExampleApplication.cpp |
|
15 // Source file for the implementation of the |
|
16 // application class - CExampleApplication |
|
17 // |
|
18 |
|
19 #include "interpretsis_testcase.h" |
|
20 |
|
21 const TUid KUidHelloWorld = { 0xE800005A }; |
|
22 |
|
23 // The function is called by the UI framework to ask for the |
|
24 // application's UID. The returned value is defined by the |
|
25 // constant KUidHelloWorlde and must match the second value |
|
26 // defined in the project definition file. |
|
27 // |
|
28 TUid CExampleApplication::AppDllUid() const |
|
29 { |
|
30 return KUidHelloWorld; |
|
31 } |
|
32 |
|
33 // This function is called by the UI framework at |
|
34 // application start-up. It creates an instance of the |
|
35 // document class. |
|
36 // |
|
37 CApaDocument* CExampleApplication::CreateDocumentL() |
|
38 { |
|
39 return new (ELeave) CExampleDocument(*this); |
|
40 } |
|
41 |