obex/obexextensionapi/public/obexserverpacketaccessextension.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 OBEXSERVERPACKETACCESSEXTENSION_H
       
    17 #define OBEXSERVERPACKETACCESSEXTENSION_H
       
    18 
       
    19 #include <e32base.h>
       
    20 
       
    21 class CObexServer;
       
    22 class MObexServerRequestPacketNotify;
       
    23 class MObexServerRequestPacketNotifyRegister;
       
    24 
       
    25 /**
       
    26 This class provides the extension API to give an OBEX server application
       
    27 the option of registering a callback interface for being informed of
       
    28 packets the server receives before the server processes them.
       
    29 
       
    30 @publishedPartner
       
    31 @released
       
    32 */
       
    33 NONSHARABLE_CLASS(CObexServerPacketAccessExtension) : public CBase
       
    34 	{
       
    35 public:
       
    36 	IMPORT_C static CObexServerPacketAccessExtension* NewL(CObexServer& aServer, MObexServerRequestPacketNotify& aRequestPacketNotify);
       
    37 	
       
    38 	~CObexServerPacketAccessExtension();
       
    39 	
       
    40 private:
       
    41 	CObexServerPacketAccessExtension();
       
    42 	void ConstructL(CObexServer& aServer, MObexServerRequestPacketNotify& aRequestPacketNotify);
       
    43 	
       
    44 private:
       
    45 	MObexServerRequestPacketNotifyRegister* iRequestPacketNotify;
       
    46 	
       
    47 	};
       
    48 
       
    49 #endif // OBEXSERVERPACKETACCESSEXTENSION_H
       
    50