application/inc/PodcastListView.h
changeset 13 f58e3c482bd9
parent 2 29cda98b007e
child 26 71493655568a
equal deleted inserted replaced
12:47c8595ffc70 13:f58e3c482bd9
    60 		void SetPointerListener(MPointerListener *aPointerListener);
    60 		void SetPointerListener(MPointerListener *aPointerListener);
    61 		
    61 		
    62 		CEikFormattedCellListBox* Listbox();
    62 		CEikFormattedCellListBox* Listbox();
    63 		void ScrollToVisible();
    63 		void ScrollToVisible();
    64     	void Draw(const TRect& aRect) const;
    64     	void Draw(const TRect& aRect) const;
       
    65     	
    65 		CEikFormattedCellListBox * iListbox;		
    66 		CEikFormattedCellListBox * iListbox;		
    66 
    67 
    67 	protected:
    68 	protected:
    68 		TTypeUid::Ptr MopSupplyObject( TTypeUid aId );
    69 		TTypeUid::Ptr MopSupplyObject( TTypeUid aId );
    69 		virtual void HandlePointerEventL(const TPointerEvent& aPointerEvent);
    70 		virtual void HandlePointerEventL(const TPointerEvent& aPointerEvent);
    79 public MPointerListener, public MAknLongTapDetectorCallBack, 
    80 public MPointerListener, public MAknLongTapDetectorCallBack, 
    80 public MProgressDialogCallback, public MKeyEventListener
    81 public MProgressDialogCallback, public MKeyEventListener
    81     {
    82     {
    82     public: 
    83     public: 
    83         ~CPodcastListView();
    84         ~CPodcastListView();
       
    85 		virtual void UpdateToolbar(TBool aVisible=ETrue) = 0;
       
    86 
    84 	protected:
    87 	protected:
    85 	    void ConstructL();
    88 	    void ConstructL();
    86 		CPodcastListView();	
    89 		CPodcastListView();	
    87 
    90 
    88 		/** 
    91 		/** 
   143 		virtual TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
   146 		virtual TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
   144 
   147 
   145 		// from MPointerListener
   148 		// from MPointerListener
   146 		void PointerEventL(const TPointerEvent& aPointerEvent);
   149 		void PointerEventL(const TPointerEvent& aPointerEvent);
   147 
   150 
   148 		virtual void UpdateToolbar() = 0;
       
   149 	protected:
   151 	protected:
   150 		 CPodcastListContainer* iListContainer;
   152 		 CPodcastListContainer* iListContainer;
   151 		 /** Previous activated view */
   153 		 /** Previous activated view */
   152 		 TVwsViewId iPreviousView;
   154 		 TVwsViewId iPreviousView;
   153 
   155