First public contribution.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #if (!defined __T_MMCSDMEDIACHANGE_DRIVER_DATA_H__)
20 #define __T_MMCSDMEDIACHANGE_DRIVER_DATA_H__
24 #include "T_MmcSDDriverData.h"
27 * Test Active Notification class
30 class CT_MMCSDMediaChangeDriverData : public CT_MmcSDDriverData
36 ~CT_MMCSDMediaChangeDriverData();
39 * Two phase constructor
41 * @leave system wide error
43 static CT_MMCSDMediaChangeDriverData* NewL();
45 virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
49 * Protected constructor. First phase construction
51 CT_MMCSDMediaChangeDriverData();
54 void DoCmdMediaState(const TDesC& aSection);
55 void DoCmdForceMediaChange();
56 void DoCmdReplayCount(const TDesC& aSection);
59 static const TEnumEntryTable iEnumMediaState[];
60 TInt iAsyncErrorIndex;
64 #endif /* __T_MMCSDMEDIACHANGE_DRIVER_DATA_H__ */