17 |
17 |
18 |
18 |
19 |
19 |
20 |
20 |
21 #include "glxivwrapplication.h" |
21 #include "glxivwrapplication.h" |
|
22 #include "glxivwrdocument.h" |
22 |
23 |
23 #include <glxgallery.hrh> |
|
24 #include <glxlog.h> |
|
25 #include <glxtracer.h> |
24 #include <glxtracer.h> |
26 |
25 |
27 #include "glxivwrdocument.h" |
26 // UID for the application, |
28 |
27 // this should correspond to the uid defined in the mmp file |
29 // UID for the application, this should correspond to the uid defined in the mmp file |
|
30 static const TUid KUidGlxIvwrApp = {0x200104E7}; |
28 static const TUid KUidGlxIvwrApp = {0x200104E7}; |
31 |
29 |
32 // ----------------------------------------------------------------------------- |
30 // ----------------------------------------------------------------------------- |
33 // CreateDocumentL |
31 // CreateDocumentL |
34 // ----------------------------------------------------------------------------- |
32 // ----------------------------------------------------------------------------- |
35 // |
33 // |
36 CApaDocument* CGlxIVwrApplication::CreateDocumentL() |
34 CApaDocument* CGlxIVwrApplication::CreateDocumentL() |
37 { |
35 { |
38 TRACER("CApaIVwrDocument* CGlxApplication::CreateDocumentL()"); |
36 TRACER("CApaIVwrDocument* CGlxApplication::CreateDocumentL()"); |
39 GLX_LOG_INFO("CGlxApplication::CreateDocumentL"); |
|
40 // Create a Viewer document, and return a pointer to it |
37 // Create a Viewer document, and return a pointer to it |
41 CApaDocument* document = CGlxIVwrDocument::NewL(*this); |
38 CApaDocument* document = CGlxIVwrDocument::NewL(*this); |
42 return document; |
39 return document; |
43 } |
40 } |
44 |
41 |
45 // ----------------------------------------------------------------------------- |
42 // ----------------------------------------------------------------------------- |
46 // AppDllUid |
43 // AppDllUid |
47 // ----------------------------------------------------------------------------- |
44 // ----------------------------------------------------------------------------- |
48 // |
45 // |
49 TUid CGlxIVwrApplication::AppDllUid() const |
46 TUid CGlxIVwrApplication::AppDllUid() const |
50 { |
47 { |
51 // Return the UID for the Viewer application |
48 // Return the UID for the Viewer application |
52 return KUidGlxIvwrApp; |
49 return KUidGlxIvwrApp; |
53 } |
50 } |
54 |
51 |
55 #include <eikstart.h> |
52 #include <eikstart.h> |
56 |
53 |
57 #ifdef __UI_FRAMEWORKS_V2__ |
54 #ifdef __UI_FRAMEWORKS_V2__ |
58 |
55 |