diff -r 000000000000 -r 1bce908db942 multimediacommsengine/tsrc/MCETestUI/inc/createVideoCodecDialog.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/multimediacommsengine/tsrc/MCETestUI/inc/createVideoCodecDialog.h Tue Feb 02 01:04:58 2010 +0200 @@ -0,0 +1,100 @@ +/* +* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + + + +#ifndef __CREATEVIDEOCODECDIALOG_H__ +#define __CREATEVIDEOCODECDIALOG_H__ (0x1) + +// INCLUDES +#include +#include +#include +#include +#include +#include // for TInetAddr +#include // for SetPort() +#include +#include +#include + +#include +#include +#include "MCETestUI.hrh" +#include "CMCETestUIEngine.h" + + +class CMCETestUIEngineVideoStream; +class CMCETestUIEngineVideoCodec; +/** + * @class CCreateAudioCodecDialog + * + * A dialog that uses a CAknForm control + * and allows a the user to edit session type parameters + */ + +class CCreateVideoCodecDialog: public CAknForm + { + public: + /** + Perform the first phase of two phase construction + @param aParams Receive parameters + */ + CCreateVideoCodecDialog(CMCETestUIEngineVideoStream& aStream,TInt aIndex); + + /** + Destroy the object + */ + ~CCreateVideoCodecDialog(); + + private: // from CEikDialog + /** + Exit and return values + @param aKeyCode Key that terminated dialog + @result Always returns ETrue, Ok to exit + */ + TBool OkToExitL(TInt aKeyCode); + + /** + Perform dynamic initialisation prior to displaying dialog + */ + void PreLayoutDynInitL(); + + private: + /** @var iParams Return item after dialog has run, owned by caller */ + CMCETestUIEngineVideoStream& iStream; + TInt iCodecIndex; + // CMCETestUIEngineCodec& iCodec; + }; + +/** + Append two message and pass it to a single message dialog. + @param aMessage1 + @param aMessage2 + */ +extern void MessageBox( const TDesC& aMessage1, const TDesC& aMessage2 ); + +/** + Display message box dialog. + @param aMessage + */ +extern void MessageBox( const TDesC& aMessage ); + +#endif // __CREATESESSIONDIALOG_H__ + +// End of File