S60 5th Edition SDK
Example Applications Guide

helloworldbasicapplication.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : helloworldbasicapplication.h
00004 *  Part of     : Helloworldbasic
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 __HELLOWORLDBASICAPPLICATION_H__
00017 #define __HELLOWORLDBASICAPPLICATION_H__
00018 
00019 // INCLUDES
00020 #include <aknapp.h>
00021 
00022 // CLASS DECLARATION
00023 
00024 /**
00025 * CHelloWorldBasicApplication application class.
00026 * Provides factory to create concrete document object.
00027 * An instance of CHelloWorldBasicApplication is the application part of the
00028 * AVKON application framework for the HelloWorldBasic example application.
00029 */
00030 class CHelloWorldBasicApplication : public CAknApplication
00031     {
00032     public: // Functions from base classes
00033 
00034         /**
00035         * From CApaApplication, AppDllUid.
00036         * @return Application's UID (KUidHelloWorldBasicApp).
00037         */
00038         TUid AppDllUid() const;
00039 
00040     protected: // Functions from base classes
00041 
00042         /**
00043         * From CApaApplication, CreateDocumentL.
00044         * Creates CHelloWorldBasicDocument document object. The returned
00045         * pointer in not owned by the CHelloWorldBasicApplication object.
00046         * @return A pointer to the created document object.
00047         */
00048         CApaDocument* CreateDocumentL();
00049     };
00050 
00051 #endif // __HELLOWORLDBASICAPPLICATION_H__
00052 
00053 // End of File
00054 

© Nokia 2009

Back to top