#include <SyncMLHistory.h>
Link against:
smlclient.lib
This item is not part of the S60 5th Edition SDK
Class CSyncMLHistoryEntry
class CSyncMLHistoryEntry : public CBase;
Description
Base class for a history log entry.
Not intended for user derivation. Derived classes:
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CSyncMLHistoryEntry
- Base class for a history log entry.
Members
Defined in CSyncMLHistoryEntry
:
Inherited from CBase
:
See also:
Construction and destruction
IMPORT_C static CSyncMLHistoryEntry* NewL(TUid aEntryType);
Description
This method creates a new history log entry of the specified type.
Parameters
TUid aEntryType |
The unique ID of the type of entry to create.
|
|
Return value
Leave codes
KErrNotSupported |
If the entry type is unknown.
|
|
IMPORT_C static CSyncMLHistoryEntry* NewL(RReadStream &);
Description
This method creates a new history log entry from a stream, internalizing all data.
Parameters
RReadStream & |
A stream containing a valid History Log entry.
|
|
Return value
Leave codes
KErrNotSupported |
If the entry type is unknown.
|
|
NewL(const CSyncMLHistoryEntry &)
IMPORT_C static CSyncMLHistoryEntry* NewL(const CSyncMLHistoryEntry &);
Description
This method creates a new copy of an existing History Log entry.
Parameters
Return value
Leave codes
KErrNotSupported |
If the entry type is unknown.
|
|
IMPORT_C virtual ~CSyncMLHistoryEntry();
Description
Default destructor for CSyncMLHistoryEntry.
ExternalizeL(RWriteStream &)const
IMPORT_C virtual void ExternalizeL(RWriteStream &) const;
Description
This method writes the details associated with this entry to the specified stream.
Parameters
IMPORT_C TUid EntryType() const;
Description
This method may be used to determine the type of the entry.
Return value
TUid
|
The unique ID of the type of this entry.
|
|
IMPORT_C TInt EntryId() const;
Description
This method returns the unique ID of the entry. This identifier is unique within the History Log.
Return value
TInt
|
The unique ID of this entry.
|
|
virtual TSmlProfileId Profile() const=0;
Description
Return value
virtual TTime TimeStamp() const=0;
Description
Return value
virtual TInt ResultCode() const=0;
Description
Return value
InternalizeL(RReadStream &)
protected: virtual void InternalizeL(RReadStream &);
Description
Parameters
private: IMPORT_C virtual TAny* Reserved(TUid);
Description
Parameters
Return value
TSortOrder
Description
An ordering of History Entries.