www.pudn.com > Full-Duplex_Audio_Example.rar > fullduplexexappUi.h


/* 
* ============================================================================= 
*  Name        : FullDuplexExAppUi.cpp 
*  Part of     : FullDuplexEx 
*  Description : Application Framework | AppUI class declaration 
                  
*  Version     :  
* 
*  Copyright © 2007 Nokia. All rights reserved. 
*  This material, including documentation and any related  
*  computer programs, is protected by copyright controlled by  
*  Nokia. All rights are reserved. Copying, including  
*  reproducing, storing, adapting or translating, any  
*  or all of this material requires the prior written consent of  
*  Nokia. This material also contains confidential  
*  information which may not be disclosed to others without the  
*  prior written consent of Nokia. 
* ============================================================================= 
*/ 
 
#ifndef FULLDUPLEXEXAPPUI_H 
#define FULLDUPLEXEXAPPUI_H 
 
// INCLUDES 
#include  
#include "fullduplexex.hrh" 
 
// FORWARD DECLARATIONS 
class CFullDuplexExContainer; 
class CFullDuplexEngine; 
 
 
// CLASS DECLARATION 
 
/** 
* Application UI class. 
*  
*/ 
class CFullDuplexExAppUi : public CAknAppUi 
    { 
public: // Constructors and destructor 
 
    /** 
    * EPOC default constructor. 
    */       
    void ConstructL(); 
 
    /** 
    * Destructor. 
    */       
    ~CFullDuplexExAppUi(); 
     
private: 
    /** 
    * From CEikAppUi, takes care of command handling. 
    * @param aCommand command to be handled 
    */ 
    void HandleCommandL(TInt aCommand); 
     
    void RestartEngineL(TInt aCodec = EFullDuplexExCodecAMR); 
 
    void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane ); 
 
private: //Data 
    CFullDuplexExContainer* iAppContainer;     
    CFullDuplexEngine*  iFDEng; 
    TInt iCurrentCodec; 
    }; 
 
#endif 
 
// End of File