bluetoothengine/bthid/mouse/PaintCursor/inc/paintcursorappview.h
branchRCL_3
changeset 9 a42ed326b458
parent 0 f63038272f30
child 12 b23265fb36da
--- a/bluetoothengine/bthid/mouse/PaintCursor/inc/paintcursorappview.h	Fri Mar 12 15:43:23 2010 +0200
+++ b/bluetoothengine/bthid/mouse/PaintCursor/inc/paintcursorappview.h	Mon Mar 15 12:41:15 2010 +0200
@@ -33,7 +33,8 @@
 /*!
  An instance of the CPaintCursorAppView View object for PaintCursor application
  */
-class CPaintCursorAppView : public CCoeControl
+class CPaintCursorAppView : public CCoeControl,  public MCoeControlObserver
+
     {
 public:
 
@@ -55,17 +56,28 @@
      Destroy the object and release all memory objects
      */
     ~CPaintCursorAppView();
+    
+    void HideCursor();
 
+    void ShowCursor();
+	
 public:
     // from CCoeControl
 
     void SizeChanged();
 
     void Draw(const TRect& aRect) const;
+	
+public:
+    /**
+    * From MCoeControlObserver, HandleControlEventL.
+    */
+    // event handling section
+    // e.g Listbox events
+    void HandleControlEventL( CCoeControl* aControl, TCoeEvent aEventType );
 
-    void HideCursor();
+    void HandleResourceChange( TInt aType );
 
-    void ShowCursor();
 private:
 
     /*!