wavegen_listbox.h
来自「symbian学习音乐播放的源代码」· C头文件 代码 · 共 57 行
H
57 行
//
// wavegen_listbox.h
//
// Copyright (C) 2002 Nokia Corporation. All rights reserved.
//
/////////////////////////////////////////////////////////////////////////////
#ifndef WAVEGENLISTBOX_H
#define WAVEGENLISTBOX_H
// INCLUDES
#include <aknsettingitemlist.h>
// FORWARD DECLARATIONS
class CStreamAudioEngine;
class CWaveGenView;
//
// CWaveGenListbox class declaration
//
class CWaveGenListbox : public CAknSettingItemList
{
public:
// Constructor
CWaveGenListbox(CStreamAudioEngine* aEng);
// Destructor
virtual ~CWaveGenListbox();
// creates the setting items for this listbox
CAknSettingItem* CreateSettingItemL(TInt identifier);
// key event + listbox event handling
TKeyResponse OfferKeyEventL(
const TKeyEvent& aKeyEvent,
TEventCode aType);
virtual void HandleListBoxEventL(
CEikListBox* aListBox,
TListBoxEvent aEventType);
private:
void SizeChanged();
private: // Data
CStreamAudioEngine* iEng; // not owned
TInt iEditing;
TInt iVolume;
TInt iFrequency;
TBool iWaveform;
};
#endif // WAVEGENLISTBOX_H
// eof
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?