haitest/bspsvs/suite/bsp/mmc/inc/T_MmcSDSocketDriverData.h
changeset 0 cec860690d41
equal deleted inserted replaced
-1:000000000000 0:cec860690d41
       
     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 #if (!defined __T_MMCSDSOCKET_DRIVER_DATA_H__)
       
    20 #define __T_MMCSDSOCKET_DRIVER_DATA_H__
       
    21 
       
    22 
       
    23 //	User Includes
       
    24 #include "T_MmcSDDriverData.h"
       
    25 
       
    26 /**
       
    27  * Test Active Notification class
       
    28  *
       
    29  */
       
    30 class CT_MMCSDSocketDriverData : public CT_MmcSDDriverData
       
    31 	{
       
    32 public:
       
    33 	/**
       
    34 	* Public destructor
       
    35 	*/
       
    36 	~CT_MMCSDSocketDriverData();
       
    37 
       
    38 	/**
       
    39 	* Two phase constructor
       
    40 	*
       
    41 	* @leave	system wide error
       
    42 	*/
       
    43 	static	CT_MMCSDSocketDriverData*	NewL();
       
    44 
       
    45 	virtual TAny*	GetObject();
       
    46 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    47 
       
    48 protected:
       
    49 	/**
       
    50 	* Protected constructor. First phase construction
       
    51 	*/
       
    52 	CT_MMCSDSocketDriverData();
       
    53 	void	ConstructL();
       
    54 
       
    55 	void 	DoCmdAdjustPartialRead(const TDesC& aSection);
       
    56 	void 	DoCmdCardIsPresent(const TDesC& aSection);
       
    57 	void 	DoCmdGetBufferInfo(const TDesC& aSection);
       
    58 	void 	DoCmdInit();
       
    59 	void 	DoCmdInitiatePowerUpSequence();
       
    60 	void 	DoCmdMachineInfo(const TDesC& aSection);
       
    61 	void 	DoCmdPrepareStore(const TDesC& aSection);
       
    62 	void 	DoCmdReset1();
       
    63 	void 	DoCmdReset2();
       
    64 	void  	DoCmdResetInactivity(const TDesC& aSection);
       
    65 	void  	DoCmdStack(const TDesC& aSection);
       
    66 	void 	DoCmdiState_Get(const TDesC& aSection);
       
    67 	void 	DoCmdiType_Get(const TDesC& aSection);
       
    68 	void 	DoCmdiDoorOpened_Get(const TDesC& aSection);
       
    69 	void 	DoCmdiStandby_Get(const TDesC& aSection);
       
    70 	void 	DoCmdPowerUpL(const TDesC& aSection, TInt aAsyncErrorIndex);
       
    71 
       
    72 private:
       
    73 	static const TEnumEntryTable 	iEnumTRequestIdTable[];	
       
    74 	static const TEnumEntryTable 	iEnumTPBusStateTable[];	
       
    75 	static const TEnumEntryTable 	iEnumTPBusTypeTable[];	
       
    76 
       
    77 	};
       
    78 
       
    79 #endif /* __T_MMCSDSOCKET_DRIVER_DATA_H__ */