diff -r 000000000000 -r d0791faffa3f obex/obexprotocol/obextransport/public/mobexnotifyextend.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/obex/obexprotocol/obextransport/public/mobexnotifyextend.h Tue Feb 02 01:11:40 2010 +0200 @@ -0,0 +1,49 @@ +// Copyright (c) 2005-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: +// + +#ifndef MOBEXNOTIFYEXTEND_H +#define MOBEXNOTIFYEXTEND_H + +/** +@file +@released +@internalTechnology +*/ + +#include +#include +#include + +class CObexPacket; +/** +Provides the call back interface for anything using CObexTransport (ie CObex). +Note: This is an internal class which is not intended for use outside of +the Transport<->Obex interface. Even where access rules allow it, external +users should not call these functions as their implementation may change. +*/ +NONSHARABLE_CLASS(MObexNotifyExtend) : public MObexNotify + { +public: + // original functions as found in MObexNotify + virtual void Process(CObexPacket& aPacket) =0; + virtual void Error(TInt aError) =0; + virtual void TransportUp() =0; + + // This is non-pure as derivers may not care about any events so we + // don't want to force them into handling them. + virtual void SignalPacketProcessEvent(TObexPacketProcessEvent /*aEvent*/){}; + }; + +#endif // MOBEXNOTIFYEXTEND_H