wlanapitest/wlanhaitest/wlan/inc/T_WlanScanInfoData.h
branchRCL_3
changeset 17 a828660c511c
parent 16 5fb7af913dfd
child 18 d3d7683d16f5
equal deleted inserted replaced
16:5fb7af913dfd 17:a828660c511c
     1 /*
       
     2 * Copyright (c) 2005-2009 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef T_WLANSCANINFODATA_H_
       
    22 #define T_WLANSCANINFODATA_H_
       
    23 
       
    24 //User Includes
       
    25 #include "datawrapperbase.h"
       
    26 
       
    27 //forward class
       
    28 class CWlanScanInfo;
       
    29 
       
    30 class CT_WlanScanInfoData: public CDataWrapperBase
       
    31 	{
       
    32 public:
       
    33 	static CT_WlanScanInfoData* NewL();
       
    34 	~CT_WlanScanInfoData();
       
    35 	
       
    36 public:
       
    37 	virtual TAny* GetObject();	
       
    38 	virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    39 
       
    40 protected:
       
    41 	CT_WlanScanInfoData();
       
    42 	void ConstructL();
       
    43 
       
    44 private:
       
    45 	 void DoCmdNewL(const TTEFSectionName& aSection);
       
    46 	 void DoCmdDestructor();
       
    47 	 void DestroyData();
       
    48 	 void DoCmdInformationElement(const TTEFSectionName& aSection);
       
    49 
       
    50 private:
       
    51 	/**
       
    52 	 * Wrapped object
       
    53 	 */
       
    54 	CWlanScanInfo* iData;
       
    55 	/**
       
    56 	 * For storing ECom instance UID (needed when destroying the instance)
       
    57 	 */
       
    58 	TUid iScanInfoInstanceIdentifier;
       
    59    };
       
    60 
       
    61 #endif /*T_WLANSCANINFODATA_H_*/
       
    62 
       
    63