wlan_plat/wlan_osa_api/inc/wlandfc.h
changeset 0 c40eb8fe8501
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     1 /*
       
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  DFC context interface declaration
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 4 %
       
    20 */
       
    21 
       
    22 #ifndef M_WLANDFC_H
       
    23 #define M_WLANDFC_H
       
    24 
       
    25 #include <wlanosaplatform.h>
       
    26 
       
    27 class MWlanDfcClient;
       
    28 
       
    29 /**
       
    30  *  DFC context interface declaration
       
    31  *
       
    32  *
       
    33  *  @lib wlanosa.lib
       
    34  *  @since S60 v3.2
       
    35  */
       
    36 class MWlanDfc 
       
    37     {
       
    38 
       
    39 public:
       
    40 
       
    41 	/**
       
    42 	 * Destructor.
       
    43 	 *
       
    44 	 * @since S60 v3.2
       
    45 	 */
       
    46     virtual ~MWlanDfc() {};
       
    47 
       
    48     /**
       
    49      * Enqueue a dfc for execution. 
       
    50      * Either succeeds or has no effect.
       
    51      * Calling this method for allready queued dfc has no effect
       
    52      *
       
    53      * @since S60 v3.2
       
    54      * @param aDfcClient client interface
       
    55      * @param aCtx context passed back in client callback
       
    56      */
       
    57      virtual void Enqueue( MWlanDfcClient& aDfcClient, TInt aCtx ) = 0;
       
    58 
       
    59     /**
       
    60      * Dequeue a queued dfc. 
       
    61      * Either succeeds or has no effect.
       
    62      * Calling this method for non queued dfc has no effect 
       
    63      *
       
    64      * @since S60 v3.2
       
    65      */
       
    66      virtual void Dequeue() = 0;
       
    67 
       
    68     };
       
    69 
       
    70 #endif // M_WLANDFC_H