chxavsettingsviewwindow.h
来自「symbian 下的helix player源代码」· C头文件 代码 · 共 99 行
H
99 行
/************************************************************************
* chxavsettingsviewwindow.h
* -------------------------
*
* Synopsis:
* Contains the declaration of the setting view window.
* This window entering/altering player settings.
*
* Target:
* Symbian OS
*
*
* (c) 1995-2003 RealNetworks, Inc. Patents pending. All rights reserved.
*
************************************************************************/
#ifndef _chxavsettingsviewwindow_h_
#define _chxavsettingsviewwindow_h_
// Helix includes...
#include <aknlists.h>
// Includes from this project...
#include "chxavrefptr.h"
#include "chxsmartptr.h"
#include "comptr.h"
#include "chxavsettingslist.h"
// forward decl
//class CEikColumnListBox;
//class CAknSearchField;
//class CEikFormattedCellListBox;
class CAknNavigationControlContainer;
class CAknNavigationDecorator;
class CAknTitlePane;
class CAknTabGroup;
class CHXAvSettingsView;
class CHXLitePrefs;
// class CHXAvSettingsViewWindow
class CHXAvSettingsViewWindow
: public CCoeControl
, public CHXBody
{
public:
// Construction...
CHXAvSettingsViewWindow(CHXAvSettingsView* pView);
~CHXAvSettingsViewWindow();
void ConstructL(const TRect& rc, TInt idxInitTab = 0);
public:
void EditCurrentItemL();
void ApplyChangesL();
void UpdateNaviPaneL();
void ShowPageL(TInt idxPage);
TInt GetCurrentPageIndex() const;
void UpdateTopAndBottomL();
// CCoeControl
CCoeControl* ComponentControl( TInt aIndex ) const;
TInt CountComponentControls() const;
void SizeChanged();
TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
void GetHelpContext(TCoeHelpContext& aContext) const;
private:
// implementation helpers
void CreateTabsL(TInt idxInitTab);
void CleanUpTabs();
private:
// data
refptr<CHXAvSettingsList> m_spList; // list for active tab
CAknNavigationControlContainer* m_pNaviPane;
CAknNavigationDecorator* m_pDecoratedTabGroup;
CAknTitlePane* m_pTitlePane;
CAknTabGroup* m_pTabGroup;
CHXAvSettingsView* m_pView;
CHXAvSettingsDataPtr m_spData;
comptr<CHXLitePrefs> m_prefs;
comptr<IHXCommonClassFactory> m_factory;
};
typedef CHXSmartPtr<CHXAvSettingsViewWindow> CHXAvSettingsViewWindowPtr;
#endif //_chxavsettingsviewwindow_h_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?