|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : AddressBookApp.h 00004 * Part of : AddressBook 00005 * Interface : 00006 * Description : A main application class, CAddressBookApp 00007 * - starting point of the program 00008 * Version : 00009 * 00010 * Copyright (c) 2002-2006 Nokia Corporation. 00011 * This material, including documentation and any related 00012 * computer programs, is protected by copyright controlled by 00013 * Nokia Corporation. 00014 * ============================================================================== 00015 */ 00016 00017 #ifndef ADDRESSBOOKAPP_H 00018 #define ADDRESSBOOKAPP_H 00019 00020 // INCLUDES 00021 #include <aknapp.h> 00022 00023 // CONSTANTS 00024 // UID of the application 00025 const TUid KUidAddressBookApp = { 0xA0000180 }; 00026 00027 // CLASS DECLARATION 00028 00029 /** 00030 * CAddressBookApp application class. 00031 * Provides factory to create concrete document object. 00032 */ 00033 class CAddressBookApp : public CAknApplication 00034 { 00035 private: // Functions from base classes 00036 00037 /** 00038 * From CApaApplication, creates CAddressBookDocument document object. 00039 * @return A pointer to the created document object. 00040 */ 00041 CApaDocument* CreateDocumentL(); 00042 00043 /** 00044 * From CApaApplication, returns application's UID (KUidAddressBookApp). 00045 * @return The value of KUidAddressBookApp. 00046 */ 00047 TUid AppDllUid() const; 00048 }; 00049 00050 #endif //ADDRESSBOOKAPP_H 00051 00052 // End of File 00053
|
© Nokia 2006 |