S60 3rd Edition SDK for Symbian OS
Example Applications Guide

HWRMTestAppApp.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : HWRMTestAppApp.h
00004 *  Part of     : HWRMTestApp
00005 *  Interface   : 
00006 *  Description : Declares main application class.
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2002-2006 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 HWRMTESTAPPAPP_H
00017 #define HWRMTESTAPPAPP_H
00018 
00019 // INCLUDES
00020 #include <aknapp.h>
00021 
00022 // CONSTANTS
00023 // UID of the application
00024 const TUid KUidHWRMTestApp = { 0xA0000185 };
00025 
00026 // CLASS DECLARATION
00027 
00028 /**
00029 * CHWRMTestAppApp application class.
00030 * Provides factory to create concrete document object.
00031 *
00032 *  @lib HWRMTestApp.exe
00033 *  @since Series S60 3.0
00034 */
00035 class CHWRMTestAppApp : public CAknApplication
00036     {
00037     
00038     public: // Functions from base classes
00039     private:
00040 
00041         /**
00042         * From CApaApplication, creates CHWRMTestAppDocument document object.
00043         * @return A pointer to the created document object.
00044         */
00045         CApaDocument* CreateDocumentL();
00046         
00047         /**
00048         * From CApaApplication, returns application's UID (KUidHWRMTestApp).
00049         * @return The value of KUidHWRMTestApp.
00050         */
00051         TUid AppDllUid() const;
00052     };
00053 
00054 #endif
00055 
00056 // End of File
00057 

© Nokia 2006

Back to top