wlanapitest/wlanhaitest/wlan/inc/T_CCommsDatabaseData.h
changeset 0 c40eb8fe8501
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     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 #ifndef T_CCOMMSDATABASEDATA_H_
       
    21 #define T_CCOMMSDATABASEDATA_H_
       
    22 
       
    23 //User Includes
       
    24 #include "datawrapperbase.h"
       
    25 
       
    26 //Epoc includes
       
    27 #include <commdb.h>						
       
    28 
       
    29 class CT_CCommsDatabaseData: public CDataWrapperBase
       
    30 	{
       
    31 public:
       
    32 	static CT_CCommsDatabaseData* NewL();
       
    33 	virtual ~CT_CCommsDatabaseData();
       
    34 
       
    35 public:	
       
    36 	virtual TAny* GetObject();
       
    37 	virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);	
       
    38 
       
    39 protected:
       
    40 	CT_CCommsDatabaseData();
       
    41 	void ConstructL();
       
    42 
       
    43 private:
       
    44 	void DoCmdNewL();
       
    45 	void DoCmdDestructor();
       
    46 	void DestroyData();
       
    47 	
       
    48 private:
       
    49 	/**
       
    50 	 * Wrapped object
       
    51 	 */
       
    52 	CCommsDatabase* iCommsDat;
       
    53 	
       
    54 	};
       
    55 
       
    56 #endif /*T_CCOMMSDATABASEDATA_H_*/