diff -r e492551a0d54 -r 9d806967057c contentstorage/caclient/s60/inc/caclientproxy.h --- a/contentstorage/caclient/s60/inc/caclientproxy.h Tue Mar 23 23:28:12 2010 +0200 +++ b/contentstorage/caclient/s60/inc/caclientproxy.h Tue Mar 23 23:42:03 2010 +0200 @@ -11,7 +11,7 @@ * * Contributors: * - * Description: + * Description: * */ @@ -43,8 +43,7 @@ /** * Insert into group type. */ - enum InsertType - { + enum InsertType { AfterTheLastEntry = -1, BeforeTheFirstEntry = 0 }; @@ -72,7 +71,7 @@ * @return error code. */ ErrorCode addData(const CaEntry &entryToAdd, - CaEntry &targetEntry); + CaEntry &targetEntry); /** * Method for removing entries. @@ -89,7 +88,7 @@ * @return error code. */ ErrorCode insertEntriesIntoGroup(int groupId, - const QList &entryIdList, int beforeEntryId); + const QList &entryIdList, int beforeEntryId); /** * Remove entries from group. @@ -98,7 +97,7 @@ * @return error code. */ ErrorCode removeEntriesFromGroup(int groupId, - const QList &entryIdList); + const QList &entryIdList); /** * Method for fetching entries. @@ -107,7 +106,7 @@ * @param sourceList List of results. * @return error code */ - ErrorCode getData(const QList &entryIdList, QList &sourceList); + ErrorCode getData(const QList &entryIdList, QList &sourceList); /** * Method for fetching entries. @@ -116,7 +115,7 @@ * @param sourceList List of results. * @return error code */ - ErrorCode getData(const CaQuery &query, QList &sourceList); + ErrorCode getData(const CaQuery &query, QList &sourceList); /** * Method for fetching entries. @@ -126,7 +125,7 @@ * @return error code */ ErrorCode getEntryIds(const CaQuery &query, - QList &sourceIdList); + QList &sourceIdList); /** * Method for executing command @@ -136,7 +135,7 @@ * @return error code */ ErrorCode executeCommand(const CaEntry &entry, - const QString &command); + const QString &command); /** * Method for touching entry. @@ -144,15 +143,15 @@ * @param aEntry entry to touch * @return error code */ - ErrorCode touch(const CaEntry& aEntry); - + ErrorCode touch(const CaEntry &aEntry); + /** * Method for custom sort. * @param entryIdList list of ids. - * @param groupId Group id. + * @param groupId Group id. * @return error code. */ - ErrorCode customSort(const QList &entryIdList, int groupId); + ErrorCode customSort(const QList &entryIdList, int groupId); private: @@ -163,7 +162,7 @@ * */ void addDataL(const CaEntry &entryToAdd, - CaEntry &targetEntry); + CaEntry &targetEntry); /** * Method for removing entries. Symbian specific. @@ -181,7 +180,7 @@ * */ void insertEntriesIntoGroupL(int groupId, - const QList &entryIdList, int beforeEntryId); + const QList &entryIdList, int beforeEntryId); /** * Method for removing entries from a group @@ -190,23 +189,23 @@ * */ void removeEntriesFromGroupL(int groupId, - const QList &entryIdList); + const QList &entryIdList); /** * Method for fetching entries. Symbian specific. * @param entryIdList list of ids * @param sourceList list of entries. */ - void getDataL(const QList &entryIdList, - QList &sourceList); + void getDataL(const QList &entryIdList, + QList &sourceList); /** * Method for fetching entries. Symbian specific. * @param entryIdList list of ids * @param sourceList list of entries. */ - void getDataL(const CaQuery &query, - QList &sourceList); + void getDataL(const CaQuery &query, + QList &sourceList); /** * Method for fetching entries. Symbian specific. @@ -214,7 +213,7 @@ * @param sourceList list of ids. */ void getEntryIdsL(const CaQuery &query, - QList &sourceIdList); + QList &sourceIdList); /** * Method for fetching entries. Symbian specific. @@ -222,19 +221,19 @@ * @param command command. */ void executeCommandL(const CaEntry &entry, - const QString &command); + const QString &command); /** * Touch. * @param aEntry entry to be touched. */ - void touchL(const CaEntry& aEntry); - + void touchL(const CaEntry &aEntry); + /** * Custom Sort. * @param aEntry entry to be touched. */ - void customSortL(const QList &entryIdList, int groupId); + void customSortL(const QList &entryIdList, int groupId); private: // Session to server.