|
1 /* |
|
2 * Copyright (c) 2009 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 |
|
20 // INCLUDE FILES |
|
21 #include "SGApp.h" |
|
22 #include "SGDocument.h" |
|
23 |
|
24 #include <eikstart.h> |
|
25 |
|
26 |
|
27 // ================= MEMBER FUNCTIONS ======================= |
|
28 |
|
29 // --------------------------------------------------------- |
|
30 // CScreenGrabberApp::AppDllUid() |
|
31 // Returns application UID |
|
32 // --------------------------------------------------------- |
|
33 // |
|
34 TUid CScreenGrabberApp::AppDllUid() const |
|
35 { |
|
36 return KUidScreenGrabber; |
|
37 } |
|
38 |
|
39 // --------------------------------------------------------- |
|
40 // CDictionaryStore* CScreenGrabberApp::OpenIniFileLC(RFs& aFs) const |
|
41 // overrides CAknApplication::OpenIniFileLC to enable INI file support |
|
42 // --------------------------------------------------------- |
|
43 // |
|
44 CDictionaryStore* CScreenGrabberApp::OpenIniFileLC(RFs& aFs) const |
|
45 { |
|
46 return CEikApplication::OpenIniFileLC(aFs); |
|
47 } |
|
48 |
|
49 // --------------------------------------------------------- |
|
50 // CScreenGrabberApp::CreateDocumentL() |
|
51 // Creates CScreenGrabberDocument object |
|
52 // --------------------------------------------------------- |
|
53 // |
|
54 CApaDocument* CScreenGrabberApp::CreateDocumentL() |
|
55 { |
|
56 return CScreenGrabberDocument::NewL( *this ); |
|
57 } |
|
58 |
|
59 // ================= OTHER EXPORTED FUNCTIONS ============== |
|
60 |
|
61 LOCAL_C CApaApplication* NewApplication() |
|
62 { |
|
63 return new CScreenGrabberApp; |
|
64 } |
|
65 |
|
66 |
|
67 GLDEF_C TInt E32Main() |
|
68 { |
|
69 return EikStart::RunApplication(NewApplication); |
|
70 } |
|
71 |
|
72 |
|
73 // End of File |
|
74 |