|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================ 00003 * Name : OomExampleApplication.h 00004 * Part of : OomMonitor Example Application 00005 * Description : ?Description 00006 * Version : %version: 1 % << Don't touch! Updated by Synergy at check-out. 00007 * 00008 * Copyright © 2009 Nokia. All rights reserved. 00009 * This material, including documentation and any related computer 00010 * programs, is protected by copyright controlled by Nokia. All 00011 * rights are reserved. Copying, including reproducing, storing, 00012 * adapting or translating, any or all of this material requires the 00013 * prior written consent of Nokia. This material also contains 00014 * confidential information which may not be disclosed to others 00015 * without the prior written consent of Nokia. 00016 * ============================================================================ 00017 * Template version: 4.2 00018 */ 00019 00020 #ifndef __OOMEXAMPLEAPPLICATION_H__ 00021 #define __OOMEXAMPLEAPPLICATION_H__ 00022 00023 #include <aknapp.h> 00024 #include "OomExample.hrh" 00025 00026 // UID for the application; 00027 // this should correspond to the uid defined in the mmp file 00028 const TUid KUidOomExampleApp = 00029 {_UID3}; 00030 00031 00032 /** 00033 * COomExampleApplication application class. 00034 * Provides factory to create concrete document object. 00035 * An instance of COomExampleApplication is the application part of the 00036 * AVKON application framework for the OomExample example application. 00037 */ 00038 class COomExampleApplication : public CAknApplication 00039 { 00040 public: 00041 // Functions from base classes 00042 00043 /** 00044 * From CApaApplication, AppDllUid. 00045 * @return Application's UID (KUidOomExampleApp). 00046 */ 00047 TUid AppDllUid() const; 00048 00049 protected: 00050 // Functions from base classes 00051 00052 /** 00053 * From CApaApplication, CreateDocumentL. 00054 * Creates COomExampleDocument document object. The returned 00055 * pointer in not owned by the COomExampleApplication object. 00056 * @return A pointer to the created document object. 00057 */ 00058 CApaDocument* CreateDocumentL(); 00059 }; 00060 00061 #endif // __OOMEXAMPLEAPPLICATION_H__ 00062
|
© Nokia 2009 |