CGlxCollectionInfo Class Reference

class CGlxCollectionInfo : public CBase

Collection info This is intended to be an external API only

Inherits from

Constructor & Destructor Documentation

CGlxCollectionInfo(TInt)

CGlxCollectionInfo ( TInt aCollectionId ) [private]

Constructor

Parameters

TInt aCollectionId MDS ID of collection (album)

~CGlxCollectionInfo()

IMPORT_C ~CGlxCollectionInfo ( )

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Second-phase constructor

Exists()

IMPORT_C TBool Exists ( ) const

Determine if the collectino exists.

Id()

IMPORT_C TUint32 Id ( ) const

Get the ID of the collection.

NewL(TUint32)

IMPORT_C CGlxCollectionInfo * NewL ( TUint32 aCollectionId ) [static]

Two-phase constructor.

Parameters

TUint32 aCollectionId MDS ID of collection (album).

SetExists(TBool)

void SetExists ( TBool aExists )

Set if collection exists.

Parameters

TBool aExists ETrue if collection exists else EFalse.

SetTitleL(const TDesC &)

void SetTitleL ( const TDesC & aTitle )

Set title.

Parameters

const TDesC & aTitle Title to set.

Title()

IMPORT_C const TDesC & Title ( ) const

Get the title of the collection.

Member Data Documentation

TBool iExists

TBool iExists [private]

ETrue if the item exists in MDS. Only populated after the data has been retrieved.

TUint32 iItemId

TUint32 iItemId [private]

Container id in MDS.

HBufC * iTitle

HBufC * iTitle [private]

Title (name) of the container. Empty object until the data has been retrieved. (Owned)