chxavsettingsview.h
上传用户:zhongxx05
上传日期:2007-06-06
资源大小:33641k
文件大小:2k
- /************************************************************************
- * chxavsettingsview.h
- * -------------------
- *
- * Synopsis:
- * Contains the declaration of the setting view, which manages prefs.
- *
- * Target:
- * Symbian OS
- *
- *
- * (c) 1995-2003 RealNetworks, Inc. Patents pending. All rights reserved.
- *
- ************************************************************************/
- #ifndef _chxavsettingsview_h_
- #define _chxavsettingsview_h_
- // Helix includes...
- #include "hxprefs.h"
- // Includes from this project...
- #include "ihxsymplayerstateobserver.h"
- #include "chxavsettingsviewwindow.h"
- #include "chxavviewbase.h"
- #include "chxavplayerui.h"
- #include "comptr.h"
- // class CHXAvSettingsView
- class CHXAvSettingsView
- : public CHXAvViewBase
- , public PrefChangeObserver
- {
- friend class CHXSettingsViewWindow;
- public:
- // Construction...
- CHXAvSettingsView(TInt idxView, CHXAvPlayerUI *pContext);
- virtual ~CHXAvSettingsView();
- virtual void ConstructL();
- public:
- void SetActivePageIndexL(TInt idxPage);
- //PrefChangeObserver
- void OnPrefsChanged();
- private:
- // CHXAvViewBase implementation...
- void UpdateViewStateL();
- CCoeControl* CreateViewWindowForActivatingViewL();
- void FinishViewDeactivateL();
- // CAknView
- void HandleCommandL(TInt command);
- void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
- // misc implementation
- void DoBackL();
- void SaveChangesL();
- private:
- CHXAvSettingsViewWindowPtr m_spWindow;
- TInt m_idxPendingActivePage;
- CHXAvPlayerUI* m_pPlayerUi;
- };
- #endif // _chxavsettingsview_h_