diff -r 773449708c84 -r 4ad59aaee882 javamanager/javabackup/midp2backup/src.s60/javastoragebackuputil.h --- a/javamanager/javabackup/midp2backup/src.s60/javastoragebackuputil.h Thu Sep 02 20:20:40 2010 +0300 +++ b/javamanager/javabackup/midp2backup/src.s60/javastoragebackuputil.h Fri Sep 17 08:28:21 2010 +0300 @@ -172,16 +172,6 @@ int FillVectorWithStorageData(); /** - * A utility function which converts a wstring into a TDesC - * and writes it into the stream. - * - * @param stream an RDesWriteStream into which the converted - * string is written - * @param tempString the wstring which is to be converted. - */ - void WriteStringtoStreamL(RDesWriteStream& aStream, std::wstring aTempString); - - /** * A utility function which reads a TDesC from the stream, converts it * to a wstring and writes it into the vector. * @@ -200,6 +190,17 @@ * has completed successfully or not. */ int WriteDataToStorage(); + + + void FetchStorageEntryToStringVector( + const java::storage::JavaStorageEntry& aAttribute, + java::storage::JavaStorageApplicationList_t::const_iterator& aApplicationsIter + ); + + void WriteItemToStorageEntry(const std::wstring& aEntryName, + const std::wstring& aEntryValue, + java::storage::JavaStorageApplicationEntry_t& aInsertEntry); + public: /** * Utility function which fills the vector with data got from storage. @@ -396,6 +397,19 @@ * Own */ int iBufferSpaceLeft; + + /** + * During backup data fromJavaStorage will be temporarily stored + * in serialised format in this buffer. + */ + HBufC8* iBufForJavaStorageItemsPtr; + + /** + * Stores the position in iBufForJavaStorageItemsPtr from where data is + * being read during backup operation. + */ + TPtrC8 iBuffReadPointer; + }; } // namespace backup