diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/handler_appview_8h_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/handler_appview_8h_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,66 @@ + + +
+ +00001 /* ==================================================================== +00002 * File: handlerAppView.h +00003 * Created: 09/27/05 +00004 * Author: +00005 * Copyright (c): , All rights reserved +00006 * ==================================================================== */ +00007 +00008 #ifndef __HANDLER_APPVIEW_H__ +00009 #define __HANDLER_APPVIEW_H__ +00010 +00011 +00012 #include <coecntrl.h> +00013 #include "Common.h" +00014 +00021 class CHandlerAppView : public CCoeControl +00022 { +00023 public: +00024 +00032 static CHandlerAppView* NewL(const TRect& aRect); +00033 +00041 static CHandlerAppView* NewLC(const TRect& aRect); +00042 +00043 +00049 ~CHandlerAppView(); +00050 +00051 +00052 public: // from CCoeControl +00059 void Draw(const TRect& aRect) const; +00060 +00061 public: +00062 +00063 void SetFileData(TFileName& aFileName, TDes8& aData); +00064 +00065 private: +00066 +00073 void ConstructL(const TRect& aRect); +00074 +00080 CHandlerAppView(); +00081 +00082 void SizeChanged(); +00083 +00084 private: +00085 +00086 TFileName iName; +00087 TBuf<KTextLengthToRead> iData; +00088 +00089 }; +00090 +00091 +00092 #endif // __HANDLER_APPVIEW_H__ +