|
1 /* |
|
2 * Copyright (c) 2008 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: Application class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "tsdocument.h" |
|
20 #include "tsapplication.h" |
|
21 #include "tsuid.hrh" |
|
22 |
|
23 // UID for the application, this should correspond |
|
24 // to the uid defined in the mmp file |
|
25 static const TUid KUidTsApp = { KTsAppUidValue }; |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // CTsApplication::CreateDocumentL( ) |
|
29 // Create a CApaDocument object and return a pointer to it |
|
30 // ----------------------------------------------------------------------------- |
|
31 // |
|
32 CApaDocument* CTsApplication::CreateDocumentL( ) |
|
33 { |
|
34 CApaDocument* document = CTsDocument::NewL( *this ); |
|
35 return document; |
|
36 } |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // CTsApplication::AppDllUid( ) |
|
40 // Returns the application DLL UID value |
|
41 // ----------------------------------------------------------------------------- |
|
42 // |
|
43 TUid CTsApplication::AppDllUid( ) const |
|
44 { |
|
45 // Return the UID for the task switcher application |
|
46 return KUidTsApp; |
|
47 } |
|
48 |
|
49 |
|
50 // end of file |