diff -r 000000000000 -r 1bce908db942 multimediacommsengine/tsrc/MCETestUI/MCETestUIEngine/inc/TMCETestUIEngineCmdCreateSession.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/multimediacommsengine/tsrc/MCETestUI/MCETestUIEngine/inc/TMCETestUIEngineCmdCreateSession.h Tue Feb 02 01:04:58 2010 +0200 @@ -0,0 +1,136 @@ +/* +* Copyright (c) 2005 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: See class definition below. +* +*/ + + + +#ifndef __TMCETESTUIENGINECMDCREATESESSION_H__ +#define __TMCETESTUIENGINECMDCREATESESSION_H__ + +// INCLUDES +#include "TMCETestUIEngineCmdBase.h" +#include +#include + +// FORWARD DECLARATIONS +class CMCETestUIEngineProfile; + +// CLASS DEFINITION +/** + * + */ +class TMCETestUIEngineCmdCreateSession: public TMCETestUIEngineCmdBase + { + + public: // Constructors + + /** + * Constructor. + * + * @param aEngine UI Engine + */ + TMCETestUIEngineCmdCreateSession( CMCETestUIEngine& aEngine ); + + /** + * Constructor. + * + * @param aEngine UI Engine + * @param aProfile Profile to be used to create new session + */ + TMCETestUIEngineCmdCreateSession( + CMCETestUIEngine& aEngine, + CMCETestUIEngineProfile& aProfile ); + + public: // Implementation for base class abstract methods + + /// Executes a sequence of operations. + IMPORT_C void ExecuteL(); + + /// Returns short textual representation for behavior of command + IMPORT_C const TDesC& Caption() const; + + private: // Not owned data + + CMCETestUIEngineProfile* iProfile; + + }; +// CLASS DEFINITION +/** + * + */ +class TMCETestUIEngineCmdCreateSessionUsingAPList: public TMCETestUIEngineCmdBase + { + + public: // Constructors + + /** + * Constructor. + * + * @param aEngine UI Engine + */ + TMCETestUIEngineCmdCreateSessionUsingAPList( CMCETestUIEngine& aEngine ); + + + + public: // Implementation for base class abstract methods + + /// Executes a sequence of operations. + IMPORT_C void ExecuteL(); + + /// Returns short textual representation for behavior of command + IMPORT_C const TDesC& Caption() const; + + // TInt PrepareConnection( TCommDbConnPref& aPrefs, TInt aIapId ); + + + private: // Not owned data + + + }; +// CLASS DEFINITION +/** + * + */ +class TMCETestUIEngineCmdCreateSessionUsingAPNumber: public TMCETestUIEngineCmdBase + { + + public: // Constructors + + /** + * Constructor. + * + * @param aEngine UI Engine + */ + TMCETestUIEngineCmdCreateSessionUsingAPNumber( CMCETestUIEngine& aEngine ); + + + + public: // Implementation for base class abstract methods + + /// Executes a sequence of operations. + IMPORT_C void ExecuteL(); + + /// Returns short textual representation for behavior of command + IMPORT_C const TDesC& Caption() const; + + + + private: // Not owned data + + + + }; +#endif // __TMCETESTUIENGINECMDCREATESESSION_H__