Location:
SyncMLClient.h
Link against: smlclient.lib
class RSyncMLHistoryLog : public RSubSessionBase;
Snapshot of history for a profile.
RSubSessionBase
- Client-side handle to a sub-session
RSyncMLHistoryLog
- Snapshot of history for a profile
Defined in RSyncMLHistoryLog
:
Close()
, Count()
, DeleteAllEntriesL()
, Entry()
, OpenL()
, Profile()
, RSyncMLHistoryLog()
, SortEntries()
, operator[]()
Inherited from RSubSessionBase
:
CloseSubSession()
,
CreateAutoCloseSubSession()
,
CreateSubSession()
,
Send()
,
SendReceive()
,
Session()
,
SubSessionHandle()
IMPORT_C void OpenL(RSyncMLSession &, TSmlProfileId);
The session is open.
Opens a snapshot of the History Log for the Profile of the specified ID.
|
|
IMPORT_C void SortEntries(CSyncMLHistoryEntry::TSortOrder);
The handle is open.
Sorts the client-side list of cached entries into the specified order.
|
Capability: | WriteDeviceData |
IMPORT_C void DeleteAllEntriesL();
The handle is open.
Deletes all the History stored for this profile.
IMPORT_C TSmlProfileId Profile() const;
The handle is open.
Returns the ID of the Profile that this History relates to.
|
IMPORT_C TInt Count() const;
The handle is open.
Returns the number of entries stored for this Profile History.
|
IMPORT_C const CSyncMLHistoryEntry &Entry(TInt aIndex) const;
The handle is open.
Returns the entry at the specified index.
|
|
inline const CSyncMLHistoryEntry &operator[](TInt aIndex) const;
The handle is open.
Returns the entry at the specified index.
|
|
IMPORT_C void Close();
Closes the History snapshot.