view DemoCube/src/DemoCubeApplication.cpp @ 0:43361e733c66

Origination.
author Atul Varma <varmaa@toolness.com>
date Tue, 12 Feb 2008 17:18:02 -0600
parents
children
line wrap: on
line source

/*=====================================================================

    Copyright © 2007 Nokia Corporation. All rights reserved.

======================================================================*/

/*
============================================================================
 Name        : DemoCubeApplication.cpp
 Author      : Nokia Computer Vision Team in NRC Palo Alto
 Copyright   : Your copyright notice
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include "DemoCamera.h"
#include "ncvImage.h"
#include "ncvCamus.h"
#include "ncvOpticalFlow.h"
#include "ncvEgoMovement.h"
#include "DemoCube.hrh"
#include "DemoCubeDocument.h"
#include "DemoCubeApplication.h"

// ============================ MEMBER FUNCTIONS ===============================

// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidDemoCubeApp = { _UID3 };

// -----------------------------------------------------------------------------
// CDemoCubeApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CDemoCubeApplication::CreateDocumentL()
    {
    // Create an DemoCube document, and return a pointer to it
    return (static_cast<CApaDocument*>
                    ( CDemoCubeDocument::NewL( *this ) ) );
    }

// -----------------------------------------------------------------------------
// CDemoCubeApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CDemoCubeApplication::AppDllUid() const
    {
    // Return the UID for the DemoCube application
    return KUidDemoCubeApp;
    }

// End of File