wlan_bearer/wlanldd/wlan_symbian/wlanldd_symbian/inc/EthernetFrameMemMngr.h
changeset 13 ab7247ff6ef9
parent 0 c40eb8fe8501
child 22 c6a1762761b8
--- a/wlan_bearer/wlanldd/wlan_symbian/wlanldd_symbian/inc/EthernetFrameMemMngr.h	Tue Feb 02 02:03:13 2010 +0200
+++ b/wlan_bearer/wlanldd/wlan_symbian/wlanldd_symbian/inc/EthernetFrameMemMngr.h	Fri Mar 19 10:03:22 2010 +0200
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of the License "Eclipse Public License v1.0"
@@ -16,7 +16,7 @@
 */
 
 /*
-* %version: 17 %
+* %version: 18 %
 */
 
 #ifndef DETHERNETFRAMEMEMMNGR_H
@@ -85,8 +85,9 @@
     * Deallocates the shared memory chunk, if relevant
     *
     * @since S60 3.1
+    * @param aThread The user mode client thread
     */
-    virtual void OnReleaseMemory();
+    virtual void OnReleaseMemory( DThread& aThread ) = 0;
 
     /**
     * Gets a memory block that can be used for tx frame write
@@ -281,6 +282,7 @@
         iRxBufAlignmentPadding( 0 ),
         iVendorTxHdrLen( 0 ),
         iVendorTxTrailerLen( 0 ),
+        iClientChunkHandle( -1 ),
         iInUse( EFalse )
         {};
 
@@ -446,6 +448,9 @@
     */
     TUint iVendorTxTrailerLen;
     
+    /** user mode client's handle to the shared memory chunk */
+    TInt iClientChunkHandle;
+    
 private:    // Data
     
     /** is memory in use or not */