0
|
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_socket.h
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
@publishedPartner
|
|
21 |
@released
|
|
22 |
*/
|
|
23 |
|
|
24 |
#ifndef __PCCD_SOCKET_H__
|
|
25 |
#define __PCCD_SOCKET_H__
|
|
26 |
#include <pccd_ifc.h>
|
|
27 |
|
|
28 |
NONSHARABLE_CLASS(DPlatPcCardSocket) : public DPcCardSocket
|
|
29 |
{
|
|
30 |
public:
|
|
31 |
DPlatPcCardSocket(TSocket aSocketNum);
|
|
32 |
virtual TInt Create(const TDesC* aName);
|
|
33 |
virtual void Reset1();
|
|
34 |
virtual void HwReset(TBool anAssert);
|
|
35 |
virtual TInt Indicators(TSocketIndicators &anInd);
|
|
36 |
virtual TBool Ready(TInt aCardFunc=KInvalidFuncNum);
|
|
37 |
virtual void SocketInfo(TPcCardSocketInfo& anInfo);
|
|
38 |
virtual TBool CardIsPresent();
|
|
39 |
public:
|
|
40 |
virtual DPccdChunkBase* NewPccdChunk(TPccdMemType aType);
|
|
41 |
virtual TInt InterruptEnable(TPccdInt anInt, TUint aFlag);
|
|
42 |
virtual void InterruptDisable(TPccdInt anInt);
|
|
43 |
public:
|
|
44 |
static void CardIReqIsr(TAny* aPtr);
|
|
45 |
static void StatusChangeIsr(TAny* aPtr);
|
|
46 |
static void ReadyChangeIsr(TAny* aPtr);
|
|
47 |
public:
|
|
48 |
TInt iIReqLevelMode;
|
|
49 |
TInt iCardIReqIntId;
|
|
50 |
TInt iStatusChangeIntId;
|
|
51 |
TInt iReadyChangeIntId;
|
|
52 |
};
|
|
53 |
|
|
54 |
#endif
|