diff -r a2efdd544abf -r b47902b73a93 networkprotocolmodules/suplprotocolmodule/SuplProtocol/test/src/mtlr10Step.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/networkprotocolmodules/suplprotocolmodule/SuplProtocol/test/src/mtlr10Step.h Fri Jun 04 10:34:15 2010 +0100 @@ -0,0 +1,57 @@ +/** +* Copyright (c) 2008-2009 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: +* +*/ + + + +/** + @file mtlr10Step.h + @internalTechnology +*/ +#if (!defined __MTLR10_STEP_H__) +#define __MTLR10_STEP_H__ +#include +#include "te_suplprotocolsuitestepbase.h" +#include "suplgatewayinterface.h" +#include "suplinitgenerator.h" +#include + +class Cmtlr10Step : public CTe_suplprotocolSuiteStepBase, + public MLbsSuplPushObserver + { +public: + Cmtlr10Step(); + ~Cmtlr10Step(); + virtual TVerdict doTestStepPreambleL(); + virtual TVerdict doTestStepL(); + virtual TVerdict doTestStepPostambleL(); + + // from MLbsSuplPushObserver + void OnSuplInitComplete(TLbsSuplPushChannel aChannel, TLbsSuplPushRequestId aReqId, TInt aError, TInt aReserved); + +private: + CSuplGatewayInterface* iModule; + CSuplInitGenerator* iSuplInitGenerator; + CLbsSuplPush* iSuplPush; + + TInt iSmsSendError; + TBufC8<1024> iReceiveBuffer; + + }; + +_LIT(Kmtlr10Step,"mtlr10Step"); + +#endif