diff -r 1972d8c2e329 -r 510c70acdbf6 adaptationlayer/tsy/simatktsy_dll/internal/test/simatktsy_testtool/simatk/inc/commandselectitem.h --- a/adaptationlayer/tsy/simatktsy_dll/internal/test/simatktsy_testtool/simatk/inc/commandselectitem.h Mon Nov 09 10:31:01 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,91 +0,0 @@ -/* -* Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of the License "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: Select Item specific test class. Inherits CCommandBase. -* -*/ - - - -#ifndef COMMANDSELECTITEM_H -#define COMMANDSELECTITEM_H - -// INCLUDES -#include "satmenubase.h" - -// CLASS DECLARATION - -/** -* Class provides functionality to verify the validity SelectItem -* proactive command and to create an ETel response for it. -* @lib SimAtk.dll -*/ -NONSHARABLE_CLASS( CCommandSelectItem ) : public CSatMenuBase - { - - public: // Constructors and destructor - - /** - * Constructor. - */ - CCommandSelectItem( const TSatIpc aIpc, const RSat& aSat, - CStifItemParser& aParser, CStifLogger& aLog ); - - /** - * Destructor. - */ - ~CCommandSelectItem(); - - public: // Implemented pure virtual methods from CSatBase - - /** - * Method requests notifications from Etel and - * and resets the internal data structure. - * @param aSimAtkStatus Reference to active object's request status - * @return KErrNone - */ - TInt NotifySat( TRequestStatus& aSimAtkStatus ); - - /** - * Method verifies the validity of received data by compaing - * them against scripted parameters. - * @return KErrNone if date was valid or KErrCorrupt if received data - * and script did not match. - */ - TInt CheckData(); - - public: // Implemented pure virtual methods from CCommandBase - - /** - * Constructs response packet for Etel from scripted - * parameters. - * @return KErrNone or KErrCorrupt if parsing failed or mandatory - * parameters were missing. - */ - TInt SendResponse(); - - - private: // Data - - // Proactive command data and package - RSat::TSelectItemV2 iData; - RSat::TSelectItemV2Pckg iDataPckg; - - // Response data and package - RSat::TSelectItemRspV1 iRsp; - RSat::TSelectItemRspV1Pckg iRspPckg; - }; - -#endif // COMMANDSELECTITEM_H - -// End of File