diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/threadappview_8h_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/threadappview_8h_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,91 @@ + + + + +TB9.2 Example Applications: examples/ForumNokia/ThreadExample/inc/threadappview.h Source File + + + + + +

examples/ForumNokia/ThreadExample/inc/threadappview.h

00001 /*
+00002 * ============================================================================
+00003 *  Name     : CThreadAppView from CThreadAppView.h
+00004 *  Part of  : Thread
+00005 *  Created  : 04.02.2005 by Forum Nokia
+00006 *  Description:
+00007 *      Declares control for application.
+00008 *  Version  : 1.0
+00009 *  Copyright: Nokia Corporation
+00010 * ============================================================================
+00011 */
+00012 
+00013 #ifndef THREAD_APPVIEW_H
+00014 #define THREAD_APPVIEW_H
+00015 
+00016 // INCLUDES
+00017 #include <coecntrl.h>
+00018 #include "Richtexteditorrte.h"
+00019 
+00020 // FORWARD DECLARATIONS
+00021 class CThreadAnimation;
+00022 
+00023 // CLASS DECLARATION
+00024 
+00029 class CThreadAppView : public CCoeControl
+00030         {
+00031 public:
+00032 
+00041     static CThreadAppView* NewL(const TRect& aRect);
+00042 
+00051     static CThreadAppView* NewLC(const TRect& aRect);
+00052 
+00053 
+00059      ~CThreadAppView();
+00060 
+00061 public:  // From CCoeControl
+00069     void Draw(const TRect& aRect) const;
+00070 
+00071 public:  // Member functions
+00072 
+00080         void DrawText(const TDesC& aText);
+00081 
+00082 public:  // Data members
+00083 
+00084     // Animation of thread1
+00085     CThreadAnimation* iAnimationOne;
+00086     // Animation of thread2
+00087     CThreadAnimation* iAnimationTwo;
+00088     // Animation of thread3
+00089     CThreadAnimation* iAnimationThree;
+00090         
+00091 private: // Basic two-phase EPOC constructors
+00092 
+00100     void ConstructL(const TRect& aRect);
+00101 
+00107     CThreadAppView();
+00108 
+00109 private: // From CCoeControl
+00110         
+00114         void SizeChanged();
+00115 
+00119         TInt CountComponentControls() const;
+00120         
+00124         CCoeControl* ComponentControl(TInt aIndex) const;
+00125 
+00126 private: // Data members
+00127         
+00128     // Rich text editor
+00129     CRichTextEditorRTE* iRte;
+00130 
+00131     // From CoeControl
+00132     TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
+00133     };
+00134 
+00135 #endif // THREAD_APPVIEW_H
+
+
Generated by  + +doxygen 1.6.2
+ +