S60 3rd Edition SDK for Symbian OS
Example Applications Guide

RegistrationApp.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : RegistrationApp.h
00004 *  Part of     : Registration
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2005-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 REGISTRATIONAPP_H
00017 #define REGISTRATIONAPP_H
00018 
00019 // INCLUDE FILES
00020 #include <aknapp.h>
00021 
00022 // CONSTANTS
00023 // UID of the application
00024 const TUid KUidRegistration = { 0xA00001F1 };
00025 
00026 // CLASS DECLARATION
00027 
00028 /**
00029 * CRegistrationApp application class.
00030 * Provides factory to create concrete document object.
00031 */
00032 class CRegistrationApp : public CAknApplication
00033     {
00034     
00035     public: // Functions from base classes
00036     
00037     private: // From CApaApplication
00038         /**
00039         * Creates CRegistrationDocument document object.
00040         * @return A pointer to the created document object.
00041         */
00042         CApaDocument* CreateDocumentL();
00043         
00044         /**
00045         * Returns application's UID (KUidRegistration).
00046         * @return The value of KUidRegistration.
00047         */
00048         TUid AppDllUid() const;
00049     };
00050 
00051 #endif // REGISTRATIONAPP_H
00052 
00053 // End of File
00054 

© Nokia 2006

Back to top