|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : focuseventapplication.h 00004 * Part of : Focus event 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 __FOCUSEVENT_APPLICATION_H__ 00017 #define __FOCUSEVENT_APPLICATION_H__ 00018 00019 // INCLUDES 00020 #include <aknapp.h> 00021 00022 // CONSTANTS 00023 // UID for the application; this should match the uid defined in the mmp file. 00024 const TUid KUidFocusEventApp = { 0xA0000234 }; 00025 00026 // CLASS DECLARATION 00027 00028 /** 00029 * CFocusEventApplication application class. 00030 * An instance of CFocusEventApplication is the application part of the AVKON 00031 * application framework for the CFocusEventApplication example application. 00032 */ 00033 class CFocusEventApplication : public CAknApplication 00034 { 00035 public: // from CAknApplication 00036 00037 /** 00038 * From CApaApplication, AppDllUid. 00039 * @return Application's UID. 00040 */ 00041 TUid AppDllUid() const; 00042 00043 protected: // New functions 00044 00045 /** 00046 * From CApaApplication, CreateDocumentL. 00047 * Creates CFocusEventApplication document object. 00048 * The returned pointer in not owned by the CFocusEventApplication 00049 * object. 00050 * @return A pointer to the created document object. 00051 */ 00052 CApaDocument* CreateDocumentL(); 00053 }; 00054 00055 #endif // __FOCUSEVENT_APPLICATION_H__ 00056 00057 // End of File
|
© Nokia 2009 |