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__
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.