mediasettings/gsvideoplugin/inc/GSMediaPlayerStreamingView.h
branchRCL_3
changeset 10 ce5ada96ab30
parent 0 96612d01cf9f
equal deleted inserted replaced
6:7d91903f795f 10:ce5ada96ab30
    13 *
    13 *
    14 * Description:   Declares view for GSVideoPlugin application.*
    14 * Description:   Declares view for GSVideoPlugin application.*
    15 */
    15 */
    16 
    16 
    17 
    17 
    18 // Version : %version: 3 %
    18 // Version : %version: 4 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 #ifndef GSMEDIAPLAYERSTREAMINGVIEW_H
    22 #ifndef GSMEDIAPLAYERSTREAMINGVIEW_H
    23 #define GSMEDIAPLAYERSTREAMINGVIEW_H
    23 #define GSMEDIAPLAYERSTREAMINGVIEW_H
    37 *  CGSMediaPlayerStreamingView class.
    37 *  CGSMediaPlayerStreamingView class.
    38 * 
    38 * 
    39 *  @since 3.1
    39 *  @since 3.1
    40 */
    40 */
    41 class CGSMediaPlayerStreamingView : public CAknView,
    41 class CGSMediaPlayerStreamingView : public CAknView,
    42                                     public MEikListBoxObserver,
       
    43                                     public MGSTabbedView    
    42                                     public MGSTabbedView    
    44 {
    43 {
    45     public: // Constructors and destructor
    44     public: // Constructors and destructor
    46     
    45     
    47         enum KGSViewPanicCodes
    46         enum KGSViewPanicCodes
   129         * Creates new container.
   128         * Creates new container.
   130         * @since 3.1
   129         * @since 3.1
   131         */
   130         */
   132         void CreateContainerL();       
   131         void CreateContainerL();       
   133 
   132 
   134     protected: // from MEikListBoxObserver
   133     protected:
   135 
       
   136         /**
       
   137         * Handles listbox events.
       
   138         * @param aListBox Listbox where the event occurred.
       
   139         * @param aEventType Event type.
       
   140         */
       
   141         void HandleListBoxEventL(CEikListBox* aListBox,
       
   142                                  TListBoxEvent aEventType);
       
   143 
   134 
   144         /**
   135         /**
   145         * Called at the end of DoActivateL.
   136         * Called at the end of DoActivateL.
   146         * @since 2.0
   137         * @since 2.0
   147         */
   138         */
   149         
   140         
   150     private:
   141     private:
   151         /**
   142         /**
   152         * C++ default constructor.
   143         * C++ default constructor.
   153         */
   144         */
   154         CGSMediaPlayerStreamingView(CMPSettingsModelForROP* aModel, CArrayPtrFlat<MGSTabbedView>* aTabViewArray);
   145         CGSMediaPlayerStreamingView( CMPSettingsModelForROP* aModel, 
       
   146 		                             CArrayPtrFlat<MGSTabbedView>* aTabViewArray);
   155 
   147 
   156         /**
   148         /**
   157         * Symbian OS 2nd phase constructor.
   149         * Symbian OS 2nd phase constructor.
   158         * @since 2.1
   150         * @since 2.1
   159         */
   151         */
   160         void ConstructL( CArrayPtrFlat<MGSTabbedView>* aTabViewArray );
   152         void ConstructL( CArrayPtrFlat<MGSTabbedView>* aTabViewArray );
   161 
       
   162     private: // New 
       
   163 
       
   164         /**
       
   165         * Handles listbox selection.
       
   166         */
       
   167         virtual void HandleListBoxSelectionL();
       
   168         
   153         
   169     private: // Data
   154     private: // Data
   170         
   155         
   171         CMPSettingsModelForROP* iModel;
   156         CMPSettingsModelForROP* iModel;
   172         CMPSettingsBaseContainer* iContainer; // owned
   157         CMPSettingsBaseContainer* iContainer; // owned