|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================ 00003 * Name : CRTEAppUi from RichTextEditorAppUi.h 00004 * Part of : RichTextEditor 00005 * Created : 05/08/2006 by Forum Nokia 00006 * Version : 2.0 00007 * 00008 * Copyright (c) 2006 - 2007 Nokia Corporation. 00009 * This material, including documentation and any related 00010 * computer programs, is protected by copyright controlled by 00011 * Nokia Corporation. 00012 * ============================================================================ 00013 */ 00014 00015 #ifndef RTEAPPUI_H 00016 #define RTEAPPUI_H 00017 00018 // INCLUDES 00019 #include <eikapp.h> 00020 #include <eikdoc.h> 00021 #include <e32std.h> 00022 #include <coeccntx.h> 00023 #include <aknappui.h> 00024 00025 // FORWARD DECLARATIONS 00026 class CRTEContainer; 00027 00028 00029 // CLASS DECLARATION 00030 00031 /** 00032 * Application UI class. 00033 * Provides support for EIKON control architecture 00034 * 00035 */ 00036 class CRTEAppUi : public CAknAppUi 00037 { 00038 public: // // Constructors and destructor 00039 00040 /** 00041 * EPOC default constructor. 00042 */ 00043 void ConstructL(); 00044 00045 /** 00046 * Destructor. 00047 */ 00048 ~CRTEAppUi(); 00049 00050 /** 00051 * HandleResourceChangeL() 00052 * Called by framework when layout is changed. 00053 * @param aType the type of resources that have changed 00054 */ 00055 void HandleResourceChangeL( TInt aType ); 00056 00057 private: 00058 /** 00059 * From CEikAppUi, takes care of command handling. 00060 * @param aCommand command to be handled 00061 */ 00062 void HandleCommandL(TInt aCommand); 00063 00064 private: //Data 00065 CRTEContainer* iAppContainer; 00066 }; 00067 00068 #endif 00069 00070 // End of File
|
© Nokia 2009 |