eapol/eapol_framework/eapol_symbian/eap_if/include/EapSendInterface.h
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
child 55 9c2aa05919d9
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
     1 /*
       
     2 * Copyright (c) 2001-2006 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 the License "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:  ECom interface definition for WLAN EAPOL interface API.
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 5 %
       
    20 */
       
    21 
       
    22 #ifndef EAP_SEND_INTERFACE_H
       
    23 #define EAP_SEND_INTERFACE_H
       
    24 
       
    25 // INCLUDES
       
    26 #include <e32std.h>
       
    27 
       
    28 
       
    29 /**
       
    30  * @brief ECom interface definition for WLAN EAPOL inteface API.
       
    31  *
       
    32  * This class defines the method used for sending data from EAPOL to WLAN Engine.
       
    33  *
       
    34  * @since S60 v3.2
       
    35  */
       
    36 class MEapSendInterface
       
    37     {
       
    38 
       
    39 public:
       
    40 
       
    41     /**
       
    42      * Callback interface to partner.
       
    43      *
       
    44      * @since S60 v3.2
       
    45      * @param aData Pointer to the data to be sent.
       
    46      * @param aLength Length of the data to be sent.
       
    47      * @return Return value is specified in interface specification.
       
    48      */
       
    49     virtual TInt SendData(
       
    50         const void * const aData, 
       
    51         const TInt aLength ) = 0;
       
    52 
       
    53     };
       
    54 
       
    55 
       
    56 #endif // EAP_SEND_INTERFACE_H