|
|
|
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()Closes the History snapshot.Count()constReturns the number of entries stored for this Profile History.DeleteAllEntriesL()Deletes all the History stored for this profile.Entry(TInt)constReturns the entry at the specified index.OpenL(RSyncMLSession &,TSmlProfileId)Opens a snapshot of the History Log for the Profile of the specified ID.Profile()constReturns the ID of the Profile that this History relates to.RSyncMLHistoryLog()Default constructor.operator[](TInt)constReturns the entry at the specified index. Inherited from RSubSessionBase:
CloseSubSession(TInt)Closes the sub-session.CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)Creates a new sub-session within an existing session. The new sub-session takes ...CreateSubSession(const RSessionBase &,TInt)Creates a new sub-session within an existing session.CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)Creates a new sub-session within an existing session.Send(TInt)constSends a blind message to the server - no reply is expected.Send(TInt,const TIpcArgs &)constSends a blind message to the server - no reply is expected.SendReceive(TInt)constSends a message to the server and waits synchronously for a reply.SendReceive(TInt,TRequestStatus &)constSends a message to the server and waits asynchronously for the reply.SendReceive(TInt,const TIpcArgs &)constSends a message to the server and waits synchronously for a reply.SendReceive(TInt,const TIpcArgs &,TRequestStatus &)constSends a message to the server and waits asynchronously for the reply.Session()constReturns a copy of the session associated with this sub-session.SubSessionHandle()constGets the sub-session handle number.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.