--- a/qtmobility/plugins/contacts/symbiansim/inc/cntsimstoreprivate.h Fri Jun 11 14:26:25 2010 +0300
+++ b/qtmobility/plugins/contacts/symbiansim/inc/cntsimstoreprivate.h Wed Jun 23 19:08:38 2010 +0300
@@ -73,14 +73,11 @@
static CntSimStorePrivate* NewL(CntSymbianSimEngine &engine, CntSimStore &simStore, const QString &storeName);
~CntSimStorePrivate();
- QString storeName() { return m_storeName; }
- TSimStoreInfo storeInfo() { return m_storeInfo; }
-
+ SimStoreInfo storeInfo() { return m_storeInfo; }
bool read(int index, int numSlots, QContactManager::Error *error);
bool write(const QContact &contact, QContactManager::Error *error);
bool remove(int index, QContactManager::Error *error);
bool getReservedSlots(QContactManager::Error *error);
-
TInt lastAsyncError() { return m_asyncError; }
private:
@@ -97,6 +94,9 @@
void encodeSimContactL(QContact* contact, TDes8& rawData) const;
void putTagAndValueL(CPhoneBookBuffer* pbBuffer, TUint8 tag, QString data) const;
QList<int> decodeReservedSlotsL(TDes8& rawData) const;
+ void writeL(QContact *contact);
+ void removeL(int index);
+ void updateStoreInfoL();
private:
State m_state;
@@ -106,15 +106,13 @@
RTelServer m_etelServer;
RMobilePhone m_etelPhone;
RMobilePhoneBookStore m_etelStore;
- QString m_storeName;
- bool m_readOnlyAccess;
- TSimStoreInfo m_storeInfo;
- TSimStoreInfoPckg m_storeInfoPckg;
+ SimStoreInfo m_storeInfo;
RBuf8 m_buffer;
QContact m_convertedContact;
int m_writeIndex;
CntSimStoreEventListener* m_listener;
TInt m_asyncError;
+ bool m_extraDetailsChecked;
};
#endif // CNTSIMSTOREPRIVATE_H_