obex/obexprotocol/obex/public/obexreadactivityobserver.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2006-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 OBEXREADACTIVITYOBSERVER_H
       
    17 #define OBEXREADACTIVITYOBSERVER_H
       
    18 
       
    19 #include <e32std.h>
       
    20 
       
    21 /**
       
    22 This mixin class must be inherited by any class interested in read activity notifications. 
       
    23 
       
    24 @publishedPartner
       
    25 @released
       
    26 */
       
    27 
       
    28 class MObexReadActivityObserver
       
    29 	{
       
    30 public:
       
    31 
       
    32 	/** Indicates read activity.
       
    33 	This is guaranteed to be called when the transport completes the first 
       
    34 	transport read in an Obex operation (which may correspond to less than a 
       
    35 	complete Obex packet), and may be called at additional times before the 
       
    36 	operation is completed.
       
    37 	Note that the upcall behaviour is dependent on transport layer and 
       
    38 	version -- even if experiments show more frequent upcalls, the only 
       
    39 	behaviour which may be assumed is a single upcall per operation.
       
    40 	
       
    41 	@publishedPartner
       
    42 	@released
       
    43 	*/
       
    44 	virtual void MoraoReadActivity() {};
       
    45 	};
       
    46 
       
    47 #endif // OBEXREADACTIVITYOBSERVER_H
       
    48