epoc32/include/mobexnotify.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.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 Provides the call back interface for anything owned by CObex.
    27 Note:  This is an internal class which is not intended for use outside of
    28 the Transport<->Obex interface.  Even where access rules allow it, external
    29 users should not call these functions as their implementation may change.
    30 */
    31 NONSHARABLE_CLASS(MObexNotify)
    32 
    33 	{
    34 	public:
    35 		virtual void Process(CObexPacket &aPacket) =0;
    36 		virtual void Error(TInt aError) =0;
    37 		virtual void TransportUp() =0;			// Call back to start the obex session
    38 		virtual void TransportDown(TBool aForceTransportDeletion) =0;
    39 	};
    40 
    41 #endif // __MOBEXNOTIFY_H__