diff -r 630d2f34d719 -r 07a122eea281 cbsref/telephonyrefplugins/atltsy/atcommand/pktservice/inc/atgprscontextactivate.h --- a/cbsref/telephonyrefplugins/atltsy/atcommand/pktservice/inc/atgprscontextactivate.h Tue Aug 31 16:23:08 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,85 +0,0 @@ -// Copyright (c) 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 atgprscontextactivate.h -// AT command definition -// This file defines the AT command used for activating a PDP context. -// - -#ifndef __ATGPRSCONTEXTACTIVATE_H -#define __ATGPRSCONTEXTACTIVATE_H - -// user include -#include "atcommandbase.h" -#include "cltsypacketserviceshandler.h" - - -/** - * CATGprsContextActivate inherits from the CATCommands class. - * Sends the AT command to attach a context to the network. - */ -class CATGprsContextActivate : public CAtCommandBase -{ -public: - static CATGprsContextActivate* NewL(CGlobalPhonemanager& aGloblePhone, - CCtsyDispatcherCallback& aCtsyDispatcherCallback); - /** - * Destructor - * - */ - ~CATGprsContextActivate(); - /** - * Virtual function. Inherited from CAtCommandBase - * Start Execute AT Command - */ - virtual void ExecuteCommand(); - /** - * Virtual function. Inherited from CAtCommandBase - * @param aResponseBuf Line buf reading from baseband - */ - virtual void ParseResponseL(const TDesC8& aResponseBuf); - /* - * Set the parameter of AT command - * - * @param aContext The context to be set configuration - */ - void SetContext(const TInt aContextId); - TInt GetErrorValue(); - virtual void StartRequest(); - -protected: - /** - * Constructor - * - * @param aGloblePhone - * @param aCtsyDispatcherCallback - */ - CATGprsContextActivate(CGlobalPhonemanager& aGloblePhone, - CCtsyDispatcherCallback& aCtsyDispatcherCallback); - /** - * 2nd Constructor - */ - void ConstructL(); -private: - /* - * The return value of AT command executed - */ - TInt iError; - /* - * The context to be set configuration - */ - TInt iContextId; -}; - - -#endif