00001 /* 00002 * ============================================================================ 00003 * Name : akntreelistobserver.h 00004 * Part of : UI Framework Core / Avkon 00005 * Description : Observer interface for hierarchical list. 00006 * Version : %version: 4 % 00007 * 00008 * Copyright © 2006, 2007 Nokia. All rights reserved. 00009 * This material, including documentation and any related computer 00010 * programs, is protected by copyright controlled by Nokia. All 00011 * rights are reserved. Copying, including reproducing, storing, 00012 * adapting or translating, any or all of this material requires the 00013 * prior written consent of Nokia. This material also contains 00014 * confidential information which may not be disclosed to others 00015 * without the prior written consent of Nokia. 00016 * ============================================================================ 00017 * Template version: 4.2 00018 */ 00019 00020 #ifndef M_AKNTREELISTOBSERVER_H 00021 #define M_AKNTREELISTOBSERVER_H 00022 00023 00024 #include <akntreelistconstants.h> 00025 00026 class CAknTreeList; 00027 00028 00043 class MAknTreeListObserver 00044 { 00045 00046 public: 00047 00052 enum TEvent 00053 { 00057 ENodeExpanded, 00061 ENodeCollapsed, 00066 EItemFocused, 00070 EItemSelected, 00073 EItemRemoved, 00079 EMarkingModeEnabled, 00083 EMarkingModeDisabled, 00088 EItemMarked, 00093 EItemUnmarked 00094 }; 00095 00115 virtual TInt HandleTreeListEvent( CAknTreeList& aList, 00116 TAknTreeItemID aItem, TEvent aEvent ) = 0; 00117 00118 }; 00119 00120 00121 #endif // M_AKNTREELISTOBSERVER_H