williamr@2: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@2: // All rights reserved.
williamr@2: // This component and the accompanying materials are made available
williamr@4: // under the terms of "Eclipse Public License v1.0"
williamr@2: // which accompanies this distribution, and is available
williamr@4: // at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@2: //
williamr@2: // Initial Contributors:
williamr@2: // Nokia Corporation - initial contribution.
williamr@2: //
williamr@2: // Contributors:
williamr@2: //
williamr@2: // Description:
williamr@2: //
williamr@2: 
williamr@2: #ifndef __MOBEXNOTIFY_H__
williamr@2: #define __MOBEXNOTIFY_H__
williamr@2: 
williamr@2: #include <e32std.h>
williamr@2: 
williamr@2: class CObexPacket;
williamr@2: 
williamr@2: /**
williamr@2: @internalComponent
williamr@2: 
williamr@4: This class is only for internal use.
williamr@4: 
williamr@4: Originally it provided the call back interface for anything owned by CObex.
williamr@2: Note:  This is an internal class which is not intended for use outside of
williamr@2: the Transport<->Obex interface.  Even where access rules allow it, external
williamr@2: users should not call these functions as their implementation may change.
williamr@2: */
williamr@2: NONSHARABLE_CLASS(MObexNotify)
williamr@2: 
williamr@2: 	{
williamr@4: public:
williamr@4: 	virtual void Process(CObexPacket &aPacket) =0;
williamr@4: 	virtual void Error(TInt aError) =0;
williamr@4: 	virtual void TransportUp() =0;
williamr@4: 	virtual void TransportDown(TBool aForceTransportDeletion) =0;
williamr@2: 	};
williamr@2: 
williamr@2: #endif // __MOBEXNOTIFY_H__