os/boardsupport/haitest/bspsvs/suite/bsp/mmc/inc/T_MmcSDStackDriverData.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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_MMCSDSTACK_DRIVER_DATA_H__)
    20 #define __T_MMCSDSTACK_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_MMCSDStackDriverData : public CT_MmcSDDriverData
    31 	{
    32 public:
    33 	/**
    34 	* Public destructor
    35 	*/
    36 	~CT_MMCSDStackDriverData();
    37 
    38 	/**
    39 	* Two phase constructor
    40 	*
    41 	* @leave	system wide error
    42 	*/
    43 	static	CT_MMCSDStackDriverData*	NewL();
    44 
    45 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
    46 
    47 protected:
    48 	/**
    49 	* Protected constructor. First phase construction
    50 	*/
    51 	CT_MMCSDStackDriverData();
    52 	void	ConstructL();
    53 
    54 private:
    55 
    56 	void 	DoCmdAdjustPartialRead(const TDesC& aSection);
    57 	void 	DoCmdAllocSession();
    58 	void 	DoCmdDemandPagingInfo(const TDesC& aSection);
    59 	void 	DoCmdEffectiveModes(const TDesC& aSection);
    60 	void 	DoCmdBufferInfo(const TDesC& aSection);
    61 	void 	DoCmdGetBufferInfo(const TDesC& aSection);
    62 	void 	DoCmdHasCardsPresent(const TDesC& aSection);
    63 	void 	DoCmdHasSessionsQueued(const TDesC& aSection);
    64 	void 	DoCmdInitStackInProgress(const TDesC& aSection);
    65 	void 	DoCmdMMCSocketL(const TDesC& aSection);
    66 	void 	DoCmdMachineInfo(const TDesC& aSection);
    67 	void 	DoCmdMaxCardsInStack(const TDesC& aSection);
    68 	void 	DoCmdReadPasswordStore(const TDesC& aSection);
    69 	void 	DoCmdWritePasswordStore(const TDesC& aSection);
    70 	void 	DoCmdProgramPeriodInMilliSeconds(const TDesC& aSection);
    71 	void 	DoCmdStop(const TDesC& aSection);
    72 	void 	DoCmdInit();
    73 	void 	DoCmdReportPowerUp(const TDesC& aSection);
    74 	void 	DoCmdReportPowerDown(const TDesC& aSection);
    75 	void 	DoCmdPasswordStore(const TDesC& aSection);
    76 	void 	DoCmdCardP(const TDesC& aSection);
    77 	void 	DoCmdAlterEffectiveModes(const TDesC& aSection);
    78 	
    79 private:
    80 
    81 	static const TEnumEntryTable 	iEnumEffectiveModesFunctionIdTable[];	
    82 	
    83 	};
    84 
    85 #endif /* __T_MMCSDSTACK_DRIVER_DATA_H__ */