www.pudn.com > nokie_soundplayer.rar > audioadapter.h
/* Copyright (c) 2004, Nokia. All rights reserved */ #ifndef __MAUDIOADAPTER_H__ #define __MAUDIOADAPTER_H__ // INCLUDES #include// FORWARD DECLARATIONS class CEikMenuPane; // CLASS DECLARATION /** * MAudioAdapter * An instance of class MAudioAdapter is an adapter for an audio utility object */ class MAudioAdapter { public: // New functions /** * PlayL * Play the audio utility. */ virtual void PlayL() = 0; /** * StopL * Stop the audio utility. */ virtual void StopL() = 0; /** * RecordL * Record using the audio utility ( if supported ). */ virtual void RecordL() = 0; /** * UpdateMenuL * Update the menu aMenuPane to reflect the current * state of the audio utility. * @param aMenuPane the menu pane to update */ virtual void UpdateMenuL( CEikMenuPane* aMenuPane ) = 0; /** * Identify * Return an identifying string * @return an identifier */ virtual const TDesC& Identify() = 0; }; #endif // __MAUDIOADAPTER_H__ // End of File