examples/ForumNokia/SMSExample/GUI/inc/SMSExampleLogView.h

00001 /*
00002  * Copyright  2008 Nokia Corporation.
00003  */
00004 
00005 #ifndef __SMSEXAMPLE_LOG_VIEW_H__
00006 #define __SMSEXAMPLE_LOG_VIEW_H__
00007 
00008 // INCLUDES
00009 #include <aknview.h>
00010 
00011 // FORWARD DECLARATIONS
00012 class CSMSExampleRTEContainer;
00013 
00017 class CLogView: public CAknView
00018     {
00019     public:
00020     
00025         static CLogView* NewL();
00026 
00031         static CLogView* NewLC();
00032 
00036         ~CLogView();
00037 
00038 
00039     public: // from CAknView
00040 
00045         TUid Id() const;
00046 
00051         void HandleCommandL(TInt aCommand);
00052 
00059         void DoActivateL(const TVwsViewId& aPrevViewId,
00060                         TUid aCustomMessageId,
00061                         const TDesC8& aCustomMessage);
00062 
00066         void DoDeactivate();
00067 
00068         void SizeChanged();
00069     public: // member methods
00070     
00075         void DrawTextL( const TDesC& aText );
00076     
00081         void DrawUnderlinedTextL( const TDesC& aText);
00082 
00087         void DrawTextWithoutCarriageL( const TDesC& aText );
00088 
00092         void AddCarriageReturnL();
00093 
00094         
00098         void LogEventBeginningL();
00099 
00100     private:
00101 
00105         CLogView();
00106 
00110         void ConstructL();
00111 
00112 
00113     private: // data members
00114 
00115         // Container for this view 
00116         CSMSExampleRTEContainer* iContainer; 
00117 
00118         // Identifier for this view 
00119         TUid iIdentifier;
00120     };
00121 
00122 
00123 #endif // __SMSEXAMPLE_LOG_VIEW__

Generated by  doxygen 1.6.2