diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/handler_appui_8h_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/handler_appui_8h_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,69 @@ + + +
+ +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 +