www.pudn.com > LDFUCK.rar > LDFUCKAppView.h
/* Copyright (c) 2008, Nokia. All rights reserved */ #ifndef __LDFUCK_APPVIEW_H__ #define __LDFUCK_APPVIEW_H__ #include/*! @class CLDFUCKAppView @discussion An instance of this class is the Application View object for the LDFUCK example application */ class CLDFUCKAppView : public CCoeControl { public: /*! @function NewL @discussion Create a CLDFUCKAppView object, which will draw itself to aRect @param aRect The rectangle this view will be drawn to @result A pointer to the created instance of CLDFUCKAppView */ static CLDFUCKAppView* NewL(const TRect& aRect); /*! @function NewLC @discussion Create a CLDFUCKAppView object, which will draw itself to aRect @param aRect The rectangle this view will be drawn to @result A pointer to the created instance of CLDFUCKAppView */ static CLDFUCKAppView* NewLC(const TRect& aRect); /*! @function ~CLDFUCKAppView @discussion Destroy the object */ ~CLDFUCKAppView(); public: // from CCoeControl /*! @function Draw @discussion Draw this CLDFUCKAppView to the screen @param aRect The rectangle of this view that needs updating */ void Draw(const TRect& aRect) const; private: /*! @function ConstructL @discussion Perform the second phase construction of a CLDFUCKAppView object @param aRect The rectangle this view will be drawn to */ void ConstructL(const TRect& aRect); /*! @function CLDFUCKAppView @discussion Perform the first phase of two phase construction */ CLDFUCKAppView(); }; #endif // __LDFUCK_APPVIEW_H__