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(TIntaTokenArrayInc,
TIntaStringTableInc
)[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)

voidAddFeedL(const TDesC &aTitle,
const TDesC &aFeedUrl,
const TTime &aLastUpdate,
TIntaFreq,
TIntaStatus =  KErrNone ,
TIntaUnreadCount = 0,
TIntaEntryId = 0,
TIntaFeedId = 0
)

Insert a feed.

Since
3.1

Parameters

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

ConstructL()

voidConstructL()[protected]

By default Symbian 2nd phase constructor is private.

DoneL()

voidDoneL()

Called when when packing is done.

Since
3.1

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

voidExtractAttributes(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 & aTitleThe item's title.
TPtrC & aUrlThe item's url.
TInt & aEntryIdThe item's entry id.
TInt & aFeedIdThe item's feed id or 0 if its a folder.
TTime & aTimestampThe item's timestamp.
TInt & aUnreadCountThe number of unread topics.
TInt & aStatusThe feed status.
TInt & aFreqThe frequency for auto updating.

FolderBeginsL(const TDesC &, TInt, TInt)

voidFolderBeginsL(const TDesC &aTitle,
TIntaEntryId = 0,
TIntaStatus =  KErrNone
)

Insert the begining of a folder.

Since
3.1

Parameters

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

FolderEndsL()

voidFolderEndsL()

Insert the ending of a folder.

Since
3.1

ItemBeginsL()

voidItemBeginsL()

Insert the begining of a mini item.

Since
3.2

ItemEndsL()

voidItemEndsL()

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]