kernel/eka/include/drivers/pccd_medchg.h
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // e32\include\drivers\pccd_medchg.h
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @publishedPartner
       
    21  @released
       
    22 */
       
    23 
       
    24 #ifndef __PCCD_MEDCHG_H__
       
    25 #define __PCCD_MEDCHG_H__
       
    26 #include <pccd_ifc.h>
       
    27 
       
    28 NONSHARABLE_CLASS(DPlatPcCardMediaChange) : public DPcCardMediaChange
       
    29 	{
       
    30 public:
       
    31 	DPlatPcCardMediaChange(TInt aMediaChangeNum);
       
    32 	virtual TInt Create();
       
    33 public:
       
    34 	virtual void ForceMediaChange();
       
    35 	virtual void DoDoorOpen();
       
    36 	virtual void DoDoorClosed();
       
    37 	virtual TMediaState MediaState();
       
    38 	static void DelayCallBack(TAny* aPtr);
       
    39 	static void Isr(TAny* aPtr);
       
    40 public:
       
    41 	TInt iMedChgIntId;
       
    42 	NTimer iDelayCallBack;
       
    43 	};
       
    44 
       
    45 #endif