|
Nokia N97 SDK Example Applications Guide |
00001 00002 /* 00003 * ============================================================================== 00004 * Name : MyViewApp.h 00005 * Part of : MyView 00006 * Interface : 00007 * Description : Declares main application class 00008 * Version : 00009 * 00010 * Copyright (c) 2002 - 2007 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 00018 00019 #ifndef MYVIEWAPP_H 00020 #define MYVIEWAPP_H 00021 00022 // INCLUDES 00023 #include <aknapp.h> 00024 00025 // CONSTANTS 00026 // UID of the application 00027 #ifdef __SERIES60_3X__ 00028 const TUid KUidMyView = { 0xE1EF0018 }; 00029 #else 00030 const TUid KUidMyView = { 0x01EF0018 }; 00031 #endif 00032 00033 00034 // CLASS DECLARATION 00035 00036 /** 00037 * CMyViewApp application class. 00038 * Provides factory to create concrete document object. 00039 * 00040 */ 00041 class CMyViewApp : public CAknApplication 00042 { 00043 00044 private: 00045 00046 /** 00047 * From CApaApplication, creates CMyViewDocument document object. 00048 * @return A pointer to the created document object. 00049 */ 00050 CApaDocument* CreateDocumentL(); 00051 00052 /** 00053 * From CApaApplication, returns application's UID (KUidMyView). 00054 * @return The value of KUidMyView. 00055 */ 00056 TUid AppDllUid() const; 00057 }; 00058 00059 #endif 00060 00061 // End of File 00062
|
© Nokia 2009 |