00001 /* ==================================================================== 00002 * File: handlerAppUi.h 00003 * Created: 09/27/05 00004 * Author: 00005 * Copyright (c): , All rights reserved 00006 * ==================================================================== */ 00007 00008 #ifndef __HANDLER_APPUI_H__ 00009 #define __HANDLER_APPUI_H__ 00010 00011 #include <aknappui.h> 00012 #include <DocumentHandler.h> 00013 00014 // Forward reference 00015 class CHandlerAppView; 00016 00023 class CHandlerAppUi : public CAknAppUi 00024 { 00025 public: 00032 void ConstructL(); 00033 00040 CHandlerAppUi(); 00041 00047 ~CHandlerAppUi(); 00048 00049 void SetFileData(TFileName& aFileName, TDes8& aData); 00050 00051 public: // from CAknAppUi 00052 00057 void OpenFileL( const TDesC& aFileName ); 00058 00062 void HandleCommandL(TInt aCommand); 00063 00067 void HandleResourceChangeL(TInt aType); 00068 00072 TBool ProcessCommandParametersL(TApaCommand aCommand,TFileName& aDocumentName); 00073 00077 TBool ProcessCommandParametersL(TApaCommand aCommand,TFileName& aDocumentName,const TDesC8& aTail); 00078 00079 private: 00080 00084 TBool IsEmbedded(); 00085 00086 private: 00087 00088 // The application view 00089 CHandlerAppView* iAppView; 00090 00091 }; 00092 00093 00094 #endif // __HANDLER_APPUI_H__ 00095
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.