equal
deleted
inserted
replaced
|
1 /* |
|
2 * Name : Application.cpp |
|
3 * Description : |
|
4 * Project : This file is part of OpenMAR, an Open Mobile Augmented Reality browser |
|
5 * Website : http://OpenMAR.org |
|
6 * |
|
7 * Copyright (c) 2010 David Caabeiro |
|
8 * |
|
9 * All rights reserved. This program and the accompanying materials are made available |
|
10 * under the terms of the Eclipse Public License v1.0 which accompanies this |
|
11 * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html |
|
12 * |
|
13 */ |
|
14 |
|
15 #include "Application.h" |
|
16 |
|
17 #include <eikstart.h> |
|
18 |
|
19 #include "Application.hrh" |
|
20 #include "Document.h" |
|
21 |
|
22 CApaDocument* CApplication::CreateDocumentL() |
|
23 { |
|
24 return CDocument::NewL(*this); |
|
25 } |
|
26 |
|
27 TUid CApplication::AppDllUid() const |
|
28 { |
|
29 return KUidApplication; |
|
30 } |
|
31 |
|
32 LOCAL_C CApaApplication* NewApplication() |
|
33 { |
|
34 return new CApplication; |
|
35 } |
|
36 |
|
37 GLDEF_C TInt E32Main() |
|
38 { |
|
39 return EikStart::RunApplication(NewApplication); |
|
40 } |