diff -r 5d0ec8b709be -r 02682e02e51f serviceproviders/sapi_contacts_vpbk/inc/contactinterface.h --- a/serviceproviders/sapi_contacts_vpbk/inc/contactinterface.h Thu Dec 17 09:09:50 2009 +0200 +++ b/serviceproviders/sapi_contacts_vpbk/inc/contactinterface.h Mon Jan 18 21:02:57 2010 +0200 @@ -20,15 +20,22 @@ //System includes #include +#include // User Includes #include "contactinterface.hrh" #include "singlecontact.h" #include "contactcallbackmap.h" +const TInt KInitialStoreUriSize = 1; +const TUint32 KPhonebookDefaultSavingStoreUri = 0x00000001; +const TUint32 KCRUidPhonebook = 0x101f8794; +const TUint32 KCRUidPhonebookStoreConfiguration = 0x1020727f; + + // Forward Declarations class CContactService; class CContactInterfaceCallback; - +class CRepository; /** * CContactInterface - Provides interface between the AIW FrameWork * and Service Provider. @@ -241,7 +248,9 @@ TInt aTransId); MLiwNotifyCallback* Callback( TInt32 aTransactionId ); - private: + private: + TPtrC GetDefaultDBUri(); + private: // POINTER MEMBER /** * contact service implementation object. @@ -258,6 +267,8 @@ HBufC* iErrorMess; //this is used only for add api due to reset problem with TLiwVariant HBufC* iDburi; + + CRepository *iRepository; };