|
1 /* |
|
2 * Copyright (c) 2006-2007 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: Creates the application document and returns the application UID. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 // User Includes |
|
24 #include "srchuiappdocument.h" |
|
25 #include "srchuiappapplication.h" |
|
26 |
|
27 //----------------------------------------------------------- |
|
28 // UID for the application, this should correspond to the uid |
|
29 // defined in the mmp file |
|
30 //----------------------------------------------------------- |
|
31 static const TUid KUidSearchApplicationApp = {0x10282411}; |
|
32 |
|
33 |
|
34 |
|
35 //----------------------------------------------------------- |
|
36 // Return the UID for the SearchApplication application |
|
37 //----------------------------------------------------------- |
|
38 TUid CSrchUiAppApplication::AppDllUid() const |
|
39 { |
|
40 return KUidSearchApplicationApp; |
|
41 } |
|
42 |
|
43 |
|
44 //----------------------------------------------------------- |
|
45 // Create an SearchApplication document, and return |
|
46 // a pointer to it |
|
47 //----------------------------------------------------------- |
|
48 CApaDocument* CSrchUiAppApplication::CreateDocumentL() |
|
49 { |
|
50 CApaDocument* document = CSrchUiAppDocument::NewL(*this); |
|
51 return document; |
|
52 } |
|
53 |
|
54 // end of file |