equal
deleted
inserted
replaced
145 static void FillSdSpecificCommandDesc(TMMCCommandDesc& aDesc); |
145 static void FillSdSpecificCommandDesc(TMMCCommandDesc& aDesc); |
146 }; |
146 }; |
147 |
147 |
148 const TInt KSDMaxMBWRetries = 1; |
148 const TInt KSDMaxMBWRetries = 1; |
149 const TUint32 KSDACMD22BlockLen = 4; |
149 const TUint32 KSDACMD22BlockLen = 4; |
150 |
|
151 NONSHARABLE_CLASS(DAddressCard) : public DMMCStack::MAddressCard |
|
152 { |
|
153 public: |
|
154 DAddressCard(DSDStack& aStack); |
|
155 virtual void AddressCard(TInt aCardNumber); |
|
156 private: |
|
157 DSDStack& iStack; |
|
158 }; |
|
159 |
|
160 |
|
161 class DSDStack : public DMMCStack |
150 class DSDStack : public DMMCStack |
162 { |
151 { |
163 public: |
152 public: |
164 inline DSDStack(TInt aBus, DMMCSocket* aSocket); |
153 inline DSDStack(TInt aBus, DMMCSocket* aSocket); |
165 |
154 |
200 private: |
189 private: |
201 // |
190 // |
202 // Dummy functions to maintain binary compatibility |
191 // Dummy functions to maintain binary compatibility |
203 IMPORT_C virtual void Dummy1(); |
192 IMPORT_C virtual void Dummy1(); |
204 IMPORT_C virtual void Dummy2(); |
193 IMPORT_C virtual void Dummy2(); |
205 |
194 IMPORT_C virtual void Dummy3(); |
206 protected: |
|
207 IMPORT_C virtual void GetInterface(TInterfaceId aInterfaceId, MInterface*& aInterfacePtr); |
|
208 |
195 |
209 public: |
196 public: |
210 IMPORT_C virtual DSDStack::TSDCardType CardType(TInt aSocket, TInt aCardNumber); |
197 IMPORT_C virtual DSDStack::TSDCardType CardType(TInt aSocket, TInt aCardNumber); |
211 |
198 |
212 private: |
199 private: |
213 DAddressCard* iAddressCard; |
|
214 // |
200 // |
215 // Reserved members to maintain binary compatibility |
201 // Reserved members to maintain binary compatibility |
216 |
202 TInt iReserved[68]; |
217 TInt iReserved[67]; |
|
218 }; |
203 }; |
219 |
204 |
220 #include <drivers/sdcard.inl> |
205 #include <drivers/sdcard.inl> |
221 |
206 |
222 #endif // #ifndef __SDCARD_H__ |
207 #endif // #ifndef __SDCARD_H__ |