equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-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 FILES |
|
20 |
|
21 #include "mmgui.hrh" |
|
22 #include "mmdocument.h" |
|
23 #include "mmapplication.h" |
|
24 #include "mmguiconstants.h" |
|
25 |
|
26 |
|
27 // ======== MEMBER FUNCTIONS ======== |
|
28 |
|
29 // --------------------------------------------------------------------------- |
|
30 // |
|
31 // --------------------------------------------------------------------------- |
|
32 // |
|
33 CApaDocument* CMmApplication::CreateDocumentL() |
|
34 { |
|
35 // Create a Matrix Menu document, and return a pointer to it |
|
36 return ( static_cast<CApaDocument*> |
|
37 ( CMmDocument::NewL( *this ) ) ); |
|
38 } |
|
39 |
|
40 // --------------------------------------------------------------------------- |
|
41 // |
|
42 // --------------------------------------------------------------------------- |
|
43 // |
|
44 TUid CMmApplication::AppDllUid() const |
|
45 { |
|
46 // Return the UID for the Matrix Menu application |
|
47 return KUidMatrixMenuApp; |
|
48 } |
|
49 |
|
50 // End of File |