diff -r ac20d6a0a19d -r b982c3e940f3 telephonyprotocols/umtsgprsscpr/spudtel/inc/reteldriverinput.h --- a/telephonyprotocols/umtsgprsscpr/spudtel/inc/reteldriverinput.h Mon Aug 09 17:43:08 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,92 +0,0 @@ -// Copyright (c) 2004-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: -// Header for etel driver input class -// -// - -/** - @file - @internalComponent -*/ - -#ifndef RETELDRIVERINPUT_H -#define RETELDRIVERINPUT_H - -#include -#include -#include // definition of TContextId - -#include "eteldrivernmspace.h" // definition of EtelDriver::TEtelInput - -class CEtelDriverFactory; -class CPdpFsmInterface; - -/** - Definition of an input interface for SPUD eTel driver - -@internalComponent -*/ -class REtelDriverInput - { -public: - REtelDriverInput(); - virtual ~REtelDriverInput(); - - virtual void OpenL (CPdpFsmInterface& aPdpFsmInterface); - virtual void Close(); - virtual void CreatePdpL (TContextId aPdpId); - virtual void DeletePdp (TContextId aPdpId); - virtual void Input(TContextId aPdpId, EtelDriver::TEtelInput aOperation); - virtual void CancelPdp (TContextId aPdpId); - virtual void StartPdpNotifications(TContextId aPdpId); - virtual void CancelPdpNotifications (TContextId aPdpId); - virtual void CancelAllPdps(); - virtual void CancelAllPdpNotifications(); - virtual void GetLastErrorCause (TContextId aPdpId, TInt& aLastErrorCause); - -protected: - -private: - // disable copy of an object - inline REtelDriverInput(REtelDriverInput&); - inline REtelDriverInput& operator= (REtelDriverInput& aInput); - -private: - /** etel driver factory */ - CEtelDriverFactory* iDriverFactory; - }; - - -// inlines -/** copy c'tor - not supported for this class -*/ -inline REtelDriverInput::REtelDriverInput(REtelDriverInput&) - { - // not supported - __ASSERT_ALWAYS(EFalse, User::Panic(EtelDriver::KTxtSpudTel, KErrNotSupported)); - } - -/** assignment operator - not supported for this class -*/ -inline REtelDriverInput& REtelDriverInput::operator= (REtelDriverInput& aInput) - { - // not supported - __ASSERT_ALWAYS(EFalse, User::Panic(EtelDriver::KTxtSpudTel,KErrNotSupported)); - return aInput; - } - -#endif -// RETELDRIVERINPUT_H