Nokia N97 SDK
Example Applications Guide

ccontapp.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : ccontapp.h
00004 *  Part of     : Contacts database example
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2004 - 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 __CCONTAPP_H__
00017 #define __CCONTAPP_H__
00018 
00019 // INCLUDES
00020 #include <aknapp.h>
00021 
00022 // CONSTANTS
00023 // UID of the application
00024 const TUid KUidContacts = { 0xA000022E };
00025 
00026 // CLASS DECLARATION
00027 
00028 /**
00029 * CContApp application class.
00030 * Provides factory to create concrete document object.
00031 *
00032 */
00033 class CContApp : public CAknApplication
00034     {
00035 
00036     private:
00037 
00038         /**
00039         * From CApaApplication, creates CContDocument document object
00040         * @return A pointer to the created document object
00041         */
00042         CApaDocument* CreateDocumentL();
00043 
00044         /**
00045         * From CApaApplication, returns application's UID (KUidContacts)
00046         * @return The value of KUidContacts
00047         */
00048         TUid AppDllUid() const;
00049     };
00050 
00051 #endif // __CCONTAPP_H__
00052 
00053 // End of File
00054 

© Nokia 2009

Back to top