Nokia N97 SDK
Example Applications Guide

sensorexampleapplication.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : sensorexampleapplication.h
00004 *  Part of     : sensorexample
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2007 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 #ifndef __SENSOREXAMPLEAPPLICATION_H__
00017 #define __SENSOREXAMPLEAPPLICATION_H__
00018 
00019 // INCLUDES
00020 #include <aknapp.h>
00021 
00022 // CLASS DECLARATION
00023 
00024 /**
00025 * CSensorExampleApplication application class.
00026 * Provides factory to create concrete document object.
00027 * An instance of CSensorExampleApplication is the application part of the
00028 * AVKON application framework for the sensorexample application.
00029 */
00030 class CSensorExampleApplication : public CAknApplication
00031     {
00032     public: // Functions from base classes
00033 
00034         /**
00035         * From CApaApplication, AppDllUid.
00036         * @return Application's UID.
00037         */
00038         TUid AppDllUid() const;
00039 
00040     protected: // Functions from base classes
00041 
00042         /**
00043         * From CApaApplication, CreateDocumentL.
00044         * Creates CSensorExampleApplication document object. The returned
00045         * pointer in not owned by the CSensorExampleApplication object.
00046         * @return A pointer to the created document object.
00047         */
00048         CApaDocument* CreateDocumentL();
00049     };
00050 
00051 #endif // __SENSOREXAMPLEAPPLICATION_H__
00052 
00053 // End of File
00054 

© Nokia 2009

Back to top