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 |
150 class DSDStack : public DMMCStack |
161 class DSDStack : public DMMCStack |
151 { |
162 { |
152 public: |
163 public: |
153 inline DSDStack(TInt aBus, DMMCSocket* aSocket); |
164 inline DSDStack(TInt aBus, DMMCSocket* aSocket); |
154 |
165 |
189 private: |
200 private: |
190 // |
201 // |
191 // Dummy functions to maintain binary compatibility |
202 // Dummy functions to maintain binary compatibility |
192 IMPORT_C virtual void Dummy1(); |
203 IMPORT_C virtual void Dummy1(); |
193 IMPORT_C virtual void Dummy2(); |
204 IMPORT_C virtual void Dummy2(); |
194 IMPORT_C virtual void Dummy3(); |
205 |
|
206 protected: |
|
207 IMPORT_C virtual void GetInterface(TInterfaceId aInterfaceId, MInterface*& aInterfacePtr); |
195 |
208 |
196 public: |
209 public: |
197 IMPORT_C virtual DSDStack::TSDCardType CardType(TInt aSocket, TInt aCardNumber); |
210 IMPORT_C virtual DSDStack::TSDCardType CardType(TInt aSocket, TInt aCardNumber); |
198 |
211 |
199 private: |
212 private: |
|
213 DAddressCard* iAddressCard; |
200 // |
214 // |
201 // Reserved members to maintain binary compatibility |
215 // Reserved members to maintain binary compatibility |
202 TInt iReserved[68]; |
216 |
|
217 TInt iReserved[67]; |
203 }; |
218 }; |
204 |
219 |
205 #include <drivers/sdcard.inl> |
220 #include <drivers/sdcard.inl> |
206 |
221 |
207 #endif // #ifndef __SDCARD_H__ |
222 #endif // #ifndef __SDCARD_H__ |