Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: caluser.h
Link against: calinterimapi.lib

Class CCalUser

class CCalUser : public CBase;

Description

Class representing a calendar user.

A calendar user is the base class representation of a meeting participant. It contains attributes common to all calendar users.

Contains methods to store and retrieve a user's ADDRESS, SENT-BY and CN fields.

Derivation

Members

Defined in CCalUser:
Address(), CommonName(), NewL(), NewL(), SentBy(), SetCommonNameL(), iImpl, ~CCalUser()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

Capability: Illegal

static IMPORT_C CCalUser *NewL(const TDesC &aAddress);

Description

Allocates and constructs a new user with the specified email address.

Parameters

const TDesC &aAddress

The address of the user.

Return value

CCalUser *

The newly constructed object.


NewL()

Capability: Illegal

static IMPORT_C CCalUser *NewL(const TDesC &aAddress, const TDesC &aSentBy);

Description

Allocates and constructs a new user with the specified email address and sender.

Parameters

const TDesC &aAddress

The address of the user.

const TDesC &aSentBy

The sender.

Return value

CCalUser *

The newly constructed object.


~CCalUser()

Capability: Illegal

IMPORT_C ~CCalUser();

Description

Destructor.

[Top]


Member functions


SetCommonNameL()

Capability: Illegal

IMPORT_C void SetCommonNameL(const TDesC &aCommonName);

Description

Sets the iCalender-defined common name (CN) of the user.

Parameters

const TDesC &aCommonName

The common name.


Address()

Capability: Illegal

IMPORT_C const TDesC &Address() const;

Description

Gets the email address of the user.

Return value

const TDesC &

The address.


CommonName()

Capability: Illegal

IMPORT_C const TDesC &CommonName() const;

Description

Gets the iCalender-defined common name (CN) of the user.

Return value

const TDesC &

The common name.


SentBy()

Capability: Illegal

IMPORT_C const TDesC &SentBy() const;

Description

Gets the sender of the user.

Return value

const TDesC &

The sender.

[Top]


Member data


iImpl

protected: CCalUserImpl * iImpl;

Description

Handle to CCalUser implementation