CPackedFolder Class Reference

class CPackedFolder : public CPacked

Is a serialized version of CFolderItem suitable for transfer between client and server.

Library: FeedsEngine.lib

Since
3.1

Inherits from

Constructor & Destructor Documentation

CPackedFolder(TInt, TInt)

CPackedFolder ( TInt aTokenArrayInc,
TInt aStringTableInc
) [protected]

C++ default constructor.

Parameters

TInt aTokenArrayInc
TInt aStringTableInc

~CPackedFolder()

~CPackedFolder ( ) [virtual]

Destructor.

Member Functions Documentation

AddFeedL(const TDesC &, const TDesC &, const TTime &, TInt, TInt, TInt, TInt, TInt)

void AddFeedL ( const TDesC & aTitle,
const TDesC & aFeedUrl,
const TTime & aLastUpdate,
TInt aFreq,
TInt aStatus =  KErrNone ,
TInt aUnreadCount = 0,
TInt aEntryId = 0,
TInt aFeedId = 0
)

Insert a feed.

Since
3.1

Parameters

const TDesC & aTitle The feed's title.
const TDesC & aFeedUrl The feed's url.
const TTime & aLastUpdate The feed's timestamp.
TInt aFreq
TInt aStatus =  KErrNone
TInt aUnreadCount = 0 The number of unread topics.
TInt aEntryId = 0 The unique id for this entry.
TInt aFeedId = 0 The id of the feed.

ConstructL()

void ConstructL ( ) [protected]

By default Symbian 2nd phase constructor is private.

DoneL()

void DoneL ( )

Called when when packing is done.

Since
3.1

ExtractAttributes(TPtrC &, TPtrC &, TInt &, TInt &, TTime &, TInt &, TInt &, TInt &)

void ExtractAttributes ( TPtrC & aTitle,
TPtrC & aUrl,
TInt & aEntryId,
TInt & aFeedId,
TTime & aTimestamp,
TInt & aUnreadCount,
TInt & aStatus,
TInt & aFreq
) const

Extract the folder item's attributes.

Since
3.1

Parameters

TPtrC & aTitle The item's title.
TPtrC & aUrl The item's url.
TInt & aEntryId The item's entry id.
TInt & aFeedId The item's feed id or 0 if its a folder.
TTime & aTimestamp The item's timestamp.
TInt & aUnreadCount The number of unread topics.
TInt & aStatus The feed status.
TInt & aFreq The frequency for auto updating.

FolderBeginsL(const TDesC &, TInt, TInt)

void FolderBeginsL ( const TDesC & aTitle,
TInt aEntryId = 0,
TInt aStatus =  KErrNone
)

Insert the begining of a folder.

Since
3.1

Parameters

const TDesC & aTitle The folder's title.
TInt aEntryId = 0 The unique id for this entry.
TInt aStatus =  KErrNone

FolderEndsL()

void FolderEndsL ( )

Insert the ending of a folder.

Since
3.1

ItemBeginsL()

void ItemBeginsL ( )

Insert the begining of a mini item.

Since
3.2

ItemEndsL()

void ItemEndsL ( )

Insert the ending of a mini item.

Since
3.2

NewL()

CPackedFolder * NewL ( ) [static]

Two-phased constructor.

Member Data Documentation

TLeakTracker iLeakTracker

TLeakTracker iLeakTracker [private]