--- a/emailuis/uicomponents/inc/fstreevisualizerbase.h Tue Sep 14 20:48:24 2010 +0300
+++ b/emailuis/uicomponents/inc/fstreevisualizerbase.h Wed Sep 15 11:52:37 2010 +0300
@@ -843,15 +843,27 @@
/**
* Sets icon for a mark sign.
*
- * @param aMarkIcon Icon to mark items.
+ * @param aMarkOnIcon Icon to mark items.
*/
- virtual void SetMarkIcon( CAlfTexture& aMarkIcon );
+ virtual void SetMarkOnIcon( CAlfTexture& aMarkOnIcon );
/**
- * Returns icon used to mark items.
+ * Sets icon for a mark sign.
+ *
+ * @param aMarkOffIcon Icon to unmark items.
*/
- virtual CAlfTexture* MarkIcon( );
-
+ virtual void SetMarkOffIcon( CAlfTexture& aMarkOffIcon );
+
+ /**
+ * Returns icon used to identify marked items.
+ */
+ virtual CAlfTexture* MarkOnIcon( );
+
+ /**
+ * Returns icon used to identify unmarked items.
+ */
+ virtual CAlfTexture* MarkOffIcon( );
+
/**
* Checks if item is marked and return status
* @param aItemId item id to be checked
@@ -924,6 +936,14 @@
void SetFocusedL( const TBool aFocused );
/**
+ * Sets marking mode on\off
+ *
+ * @param ETrue if marking mode is set on
+ */
+
+ void SetMarkingModeL( const TBool aMarkingMode );
+
+ /**
*
* @param aTexture A custom texture for the selector.
* The texture is used to create an image brush.
@@ -1009,9 +1029,7 @@
*
* @panic EFsListPanicInvalidItemID Item with specified ID is not found.
*/
- // <cmail>
virtual void SetFocusedItemL( const TFsTreeItemId aItem, TBool aCheckFocus = ETrue );
- // </cmail>
/**
* Gets item vertical position in the list
@@ -1042,9 +1060,7 @@
*
* @param aItemId Id of an item that will be displayed as first.
*/
- // <cmail>
virtual void SetFirstVisibleItemL( const TFsTreeItemId aItemId );
- // </cmail>
/**
* Get an id of the first visible item.
@@ -1300,6 +1316,11 @@
*/
virtual TBool IsItemsAlwaysExtended ( );
+ /*
+ * The function returns ETrue if marking mode is on
+ */
+ virtual TBool IsMarkingMode ( );
+
/**
* The function sets a text for empty list's view.
* The function does not refresh the view automatically.
@@ -2171,8 +2192,13 @@
/**
* Icon used to mark items.
*/
- CAlfTexture* iMarkIcon;
-
+ CAlfTexture* iMarkOnIcon;
+
+ /**
+ * Icon used to unmark items.
+ */
+ CAlfTexture* iMarkOffIcon;
+
/**
* Icon indicating that item has menu.
*/
@@ -2370,7 +2396,12 @@
* This flag is checked when trying to focus item. Focus is ignored
* if list is being panned.
*/
- EListPanning
+ EListPanning,
+
+ /**
+ * Informs if marking mode is on
+ */
+ EMarkingMode
};
// Flags