Location:
caluser.h
Link against: calinterimapi.lib
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
CBase
- Base class for all classes to be instantiated on the heap
CCalUser
- Class representing a calendar user
Members
Defined in CCalUser
:
Address()
, CommonName()
, NewL()
, NewL()
, SentBy()
, SetCommonNameL()
, iImpl
, ~CCalUser()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
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.
|
|
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.
|
|
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.
|
|
IMPORT_C const TDesC &Address() const;
Description
Gets the email address of the user.
Return value
const TDesC & |
The address.
|
|
IMPORT_C const TDesC &CommonName() const;
Description
Gets the iCalender-defined common name (CN) of the user.
Return value
const TDesC & |
The common name.
|
|
IMPORT_C const TDesC &SentBy() const;
Description
Gets the sender of the user.
Return value
const TDesC & |
The sender.
|
|
protected: CCalUserImpl * iImpl;
Description
Handle to CCalUser implementation