?? soundappui.h
字號:
// Copyright (c) 2004, Nokia. All rights reserved.
#ifndef __SOUNDAPPUI_H__
#define __SOUNDAPPUI_H__
// INCLUDES
#include <eikappui.h>
#include <aknappui.h>
#include <eikmenub.h>
#include <e32base.h>
// CONSTANTS
// Waw to Play
_LIT( KSoundSampleFile, "Play.wav" );
// FORWARD DECLARATIONS
class MAudioAdapter;
class CToneAdapter;
class CPlayerAdapter;
class CRecorderAdapter;
class CSoundDocument;
class CSoundView;
// CLASS DECLARATION
/**
* CSoundAppUi
* An instance of class CSoundAppUi is the UserInterface part of the AVKON
* application framework for the Sound example application
*/
class CSoundAppUi : public CAknAppUi
{
public: // Constructors and destructor
/**
* ~CSoundAppUi.
* Virtual Destructor.
*/
virtual ~CSoundAppUi();
/**
* CSoundAppUi.
* C++ default constructor.
* This needs to be public due to the
* way the framework constructs the AppUi
*/
CSoundAppUi();
/**
* ConstructL
* 2nd phase constructor.
*/
void ConstructL();
/**
* UpdateViewL
* Update the view
*/
void UpdateViewL();
public: // from CAknAppUi
/**
* HandleCommandL
* Handles the commands.
* @param aCommand command to be handled
*/
void HandleCommandL( TInt aCommand );
/**
* DynInitMenuPaneL
* Prepare the menu prior to display
* @param aResourceId the resource for the menu to be displayed
* @param aMenuPane the handle to the menu
*/
void DynInitMenuPaneL( TInt aResourceId,
CEikMenuPane* aMenuPane );
private: // New Functions
/**
* SetAdapterL
* Set the current audio adapter to aAudioAdapter.
* @param aAudioAdapter The adapter to use
*/
void SetAdapterL( MAudioAdapter* aAudioAdapter );
private: //Data
/**
* iToneAdapter, the audio tone adapter
* owned by CSoundAppUi object.
*/
CToneAdapter* iToneAdapter;
/**
* iPlayerAdapter, the audio player adapter
* owned by CSoundAppUi object.
*/
CPlayerAdapter* iPlayerAdapter;
/**
* iRecorderAdapter, the audio recorder adapter
* owned by CSoundAppUi object.
*/
CRecorderAdapter* iRecorderAdapter;
/**
* iAudioAdapter, the current audio adapter.
* owned by CSoundAppUi object.
*/
MAudioAdapter* iAudioAdapter;
/**
* iAppView, the View
* owned by CSoundAppUi object.
*/
CSoundView* iAppView;
};
#endif // __SOUNDAPPUI_H__
// End of File
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -