classicui_pub/hierarchical_lists_api/inc/akntreelist.h
branchRCL_3
changeset 10 3d340a0166ff
parent 7 08e69e956a8c
child 12 941195f2d488
--- a/classicui_pub/hierarchical_lists_api/inc/akntreelist.h	Tue Apr 27 16:55:05 2010 +0300
+++ b/classicui_pub/hierarchical_lists_api/inc/akntreelist.h	Tue May 11 16:27:42 2010 +0300
@@ -24,6 +24,7 @@
 #include <w32std.h>
 #include <akntreelistobserver.h>
 #include <AknIconUtils.h> // TScaleMode
+#include <aknmarkingmodeobserver.h>
 
 class CAknTree;
 class CAknTreeListView;
@@ -920,6 +921,15 @@
      */
     IMPORT_C void SetEmptyTextL(const TDesC& aText);
 
+    /**
+     * Sets the marking mode observer.
+     *
+     * @since S60 5.2
+     * 
+     * @param aObserver Marking mode observer, @c NULL removes the existing
+     *                   observer.
+     */
+    IMPORT_C void SetMarkingModeObserver( MAknMarkingModeObserver* aObserver );
 
 // From base class CCoeControl
 
@@ -1009,6 +1019,15 @@
      */
     CCoeControl* ComponentControl( TInt aIndex ) const;
 
+    /**
+     * Returns the marking mode observer.
+     *
+     * @since S60 5.2
+     * 
+     * @return Pointer to the marking mode observer.
+     */
+    MAknMarkingModeObserver* MarkingModeObserver();
+    
 protected:
 
     /**
@@ -1133,6 +1152,10 @@
      */
     TInt iIndex;
 
+    /**
+     * Marking mode observer
+     */
+    MAknMarkingModeObserver* iMarkingModeObserver; 
     };