|
1 /* |
|
2 * Copyright (c) 2002 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 |
|
19 // INCLUDE FILES |
|
20 #include "AutolockApp.h" |
|
21 #include "AutolockDocument.h" |
|
22 #include <eikstart.h> |
|
23 |
|
24 |
|
25 // ================= MEMBER FUNCTIONS ======================= |
|
26 |
|
27 // --------------------------------------------------------- |
|
28 // CAutolockApp::AppDllUid() |
|
29 // Returns application UID |
|
30 // --------------------------------------------------------- |
|
31 // |
|
32 TUid CAutolockApp::AppDllUid() const |
|
33 { |
|
34 return KUidAutolock; |
|
35 } |
|
36 |
|
37 // --------------------------------------------------------- |
|
38 // CAutolockApp::CreateDocumentL() |
|
39 // Creates CAutolockDocument object |
|
40 // --------------------------------------------------------- |
|
41 // |
|
42 CApaDocument* CAutolockApp::CreateDocumentL() |
|
43 { |
|
44 return CAutolockDocument::NewL( *this ); |
|
45 } |
|
46 |
|
47 // ================= OTHER EXPORTED FUNCTIONS ============== |
|
48 // |
|
49 |
|
50 LOCAL_C CApaApplication* NewApplication() |
|
51 { |
|
52 return new CAutolockApp; |
|
53 } |
|
54 |
|
55 GLDEF_C TInt E32Main() |
|
56 { |
|
57 return EikStart::RunApplication(NewApplication); |
|
58 } |
|
59 |
|
60 // End of File |
|
61 |