obex/obexprotocol/obextransport/public/mobexnotify.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __MOBEXNOTIFY_H__
       
    17 #define __MOBEXNOTIFY_H__
       
    18 
       
    19 #include <e32std.h>
       
    20 
       
    21 class CObexPacket;
       
    22 
       
    23 /**
       
    24 @internalComponent
       
    25 
       
    26 This class is only for internal use.
       
    27 
       
    28 Originally it provided the call back interface for anything owned by CObex.
       
    29 Note:  This is an internal class which is not intended for use outside of
       
    30 the Transport<->Obex interface.  Even where access rules allow it, external
       
    31 users should not call these functions as their implementation may change.
       
    32 */
       
    33 NONSHARABLE_CLASS(MObexNotify)
       
    34 
       
    35 	{
       
    36 public:
       
    37 	virtual void Process(CObexPacket &aPacket) =0;
       
    38 	virtual void Error(TInt aError) =0;
       
    39 	virtual void TransportUp() =0;
       
    40 	virtual void TransportDown(TBool aForceTransportDeletion) =0;
       
    41 	};
       
    42 
       
    43 #endif // __MOBEXNOTIFY_H__