»
Symbian OS v9.3 »
Symbian OS reference »
C++ component reference »
SyncML SYNCMLCLIENT »
CSyncMLHistoryEntry
Location:
SyncMLHistory.h
Link against: smlclient.lib
This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.
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
:
ESortByTime
, ESortByType
, EntryId()
, EntryType()
, ExternalizeL()
, InternalizeL()
, NewL()
, NewL()
, NewL()
, Profile()
, Reserved()
, ResultCode()
, TSortOrder
, TimeStamp()
, ~CSyncMLHistoryEntry()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
See also:
Construction and destruction
static IMPORT_C 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.
|
|
static IMPORT_C 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.
|
|
static IMPORT_C 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.
|
|
virtual IMPORT_C ~CSyncMLHistoryEntry();
Description
Default destructor for CSyncMLHistoryEntry.
virtual IMPORT_C 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
protected: virtual void InternalizeL(RReadStream &);
Description
Parameters
private: virtual IMPORT_C TAny *Reserved(TUid);
Description
Parameters
Return value
TSortOrder
Description
An ordering of History Entries.