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