photosgallery/viewframework/commandhandlers/commoncommandhandlers/inc/glxmediaselectionpopup.h
branchRCL_3
changeset 24 ea65f74e6de4
parent 18 78ad99c24f08
equal deleted inserted replaced
23:b023a8d2866a 24:ea65f74e6de4
   162 public: 
   162 public: 
   163 	//From CAknPopupList
   163 	//From CAknPopupList
   164 	void HandleListBoxEventL (CEikListBox *aListBox, TListBoxEvent aEventType) ;
   164 	void HandleListBoxEventL (CEikListBox *aListBox, TListBoxEvent aEventType) ;
   165 	void HandlePointerEventL(const TPointerEvent& aPointerEvent);
   165 	void HandlePointerEventL(const TPointerEvent& aPointerEvent);
   166     };
   166     };
   167     
   167 
       
   168 /**
       
   169  * CGlxSingleGraphicPopupMenuStyleList
       
   170  * 
       
   171  * Adds behaviour to CAknSingleGraphicPopupMenuStyleListBox:
       
   172  * For 'Add Album', default functionality is performed.
       
   173  * For Tags editor, If a static item or user-defined item is selected 
       
   174  * then we show 'OK' & 'Cancel' as SoftKeys(SK). Otherwise 'Cancel' SK.
       
   175  * If 'static Item' is selected, sends 'EnterKeyPressed' event to ListBox observer.  
       
   176  */
       
   177 NONSHARABLE_CLASS( CGlxSingleGraphicPopupMenuStyleListBox )
       
   178    : public CAknSingleGraphicPopupMenuStyleListBox 					
       
   179     {
       
   180 public:
       
   181 	/** See @ref CCoeControl::OfferKeyEventL */
       
   182     TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); 
       
   183     };
       
   184 
   168 /**
   185 /**
   169  * CGlxMediaSelectionPopup 
   186  * CGlxMediaSelectionPopup 
   170  * 
   187  * 
   171  * Generic Selection popup class definition. Shows a popup from user 
   188  * Generic Selection popup class definition. Shows a popup from user 
   172  * can select a media object, or to create a new one. Retrieves
   189  * can select a media object, or to create a new one. Retrieves