classicui_pub/hierarchical_lists_api/inc/akntreelist.h
branchRCL_3
changeset 23 3d340a0166ff
parent 15 08e69e956a8c
child 25 941195f2d488
equal deleted inserted replaced
18:0aa5fbdfbc30 23:3d340a0166ff
    22 
    22 
    23 #include <AknControl.h>
    23 #include <AknControl.h>
    24 #include <w32std.h>
    24 #include <w32std.h>
    25 #include <akntreelistobserver.h>
    25 #include <akntreelistobserver.h>
    26 #include <AknIconUtils.h> // TScaleMode
    26 #include <AknIconUtils.h> // TScaleMode
       
    27 #include <aknmarkingmodeobserver.h>
    27 
    28 
    28 class CAknTree;
    29 class CAknTree;
    29 class CAknTreeListView;
    30 class CAknTreeListView;
    30 class MAknCustomTreeOrdering;
    31 class MAknCustomTreeOrdering;
    31 class TAknsItemID;
    32 class TAknsItemID;
   918      *
   919      *
   919      * @param aText The text for the empty list.
   920      * @param aText The text for the empty list.
   920      */
   921      */
   921     IMPORT_C void SetEmptyTextL(const TDesC& aText);
   922     IMPORT_C void SetEmptyTextL(const TDesC& aText);
   922 
   923 
       
   924     /**
       
   925      * Sets the marking mode observer.
       
   926      *
       
   927      * @since S60 5.2
       
   928      * 
       
   929      * @param aObserver Marking mode observer, @c NULL removes the existing
       
   930      *                   observer.
       
   931      */
       
   932     IMPORT_C void SetMarkingModeObserver( MAknMarkingModeObserver* aObserver );
   923 
   933 
   924 // From base class CCoeControl
   934 // From base class CCoeControl
   925 
   935 
   926     /**
   936     /**
   927      * From CCoeControl.
   937      * From CCoeControl.
  1007      *
  1017      *
  1008      * @return The component control with an index of aIndex.
  1018      * @return The component control with an index of aIndex.
  1009      */
  1019      */
  1010     CCoeControl* ComponentControl( TInt aIndex ) const;
  1020     CCoeControl* ComponentControl( TInt aIndex ) const;
  1011 
  1021 
       
  1022     /**
       
  1023      * Returns the marking mode observer.
       
  1024      *
       
  1025      * @since S60 5.2
       
  1026      * 
       
  1027      * @return Pointer to the marking mode observer.
       
  1028      */
       
  1029     MAknMarkingModeObserver* MarkingModeObserver();
       
  1030     
  1012 protected:
  1031 protected:
  1013 
  1032 
  1014     /**
  1033     /**
  1015      * Constructor.
  1034      * Constructor.
  1016      */
  1035      */
  1131     /**
  1150     /**
  1132      * Index to observer array.
  1151      * Index to observer array.
  1133      */
  1152      */
  1134     TInt iIndex;
  1153     TInt iIndex;
  1135 
  1154 
       
  1155     /**
       
  1156      * Marking mode observer
       
  1157      */
       
  1158     MAknMarkingModeObserver* iMarkingModeObserver; 
  1136     };
  1159     };
  1137 
  1160 
  1138 
  1161 
  1139 #endif // C_AKNTREELIST_H
  1162 #endif // C_AKNTREELIST_H