0
|
1 /*=====================================================================
|
|
2
|
|
3 Copyright © 2007 Nokia Corporation. All rights reserved.
|
|
4
|
|
5 ======================================================================*/
|
|
6
|
|
7 /*
|
|
8 ============================================================================
|
|
9 Name : DemoCubeApplication.cpp
|
|
10 Author : Nokia Computer Vision Team in NRC Palo Alto
|
|
11 Copyright : Your copyright notice
|
|
12 Description : Main application class
|
|
13 ============================================================================
|
|
14 */
|
|
15
|
|
16 // INCLUDE FILES
|
|
17 #include "DemoCamera.h"
|
|
18 #include "ncvImage.h"
|
|
19 #include "ncvCamus.h"
|
|
20 #include "ncvOpticalFlow.h"
|
|
21 #include "ncvEgoMovement.h"
|
|
22 #include "DemoCube.hrh"
|
|
23 #include "DemoCubeDocument.h"
|
|
24 #include "DemoCubeApplication.h"
|
|
25
|
|
26 // ============================ MEMBER FUNCTIONS ===============================
|
|
27
|
|
28 // UID for the application;
|
|
29 // this should correspond to the uid defined in the mmp file
|
|
30 const TUid KUidDemoCubeApp = { _UID3 };
|
|
31
|
|
32 // -----------------------------------------------------------------------------
|
|
33 // CDemoCubeApplication::CreateDocumentL()
|
|
34 // Creates CApaDocument object
|
|
35 // -----------------------------------------------------------------------------
|
|
36 //
|
|
37 CApaDocument* CDemoCubeApplication::CreateDocumentL()
|
|
38 {
|
|
39 // Create an DemoCube document, and return a pointer to it
|
|
40 return (static_cast<CApaDocument*>
|
|
41 ( CDemoCubeDocument::NewL( *this ) ) );
|
|
42 }
|
|
43
|
|
44 // -----------------------------------------------------------------------------
|
|
45 // CDemoCubeApplication::AppDllUid()
|
|
46 // Returns application UID
|
|
47 // -----------------------------------------------------------------------------
|
|
48 //
|
|
49 TUid CDemoCubeApplication::AppDllUid() const
|
|
50 {
|
|
51 // Return the UID for the DemoCube application
|
|
52 return KUidDemoCubeApp;
|
|
53 }
|
|
54
|
|
55 // End of File
|