CMessageAddress Class Reference

API published in: S60 3rd Ed

Link against: sendui.lib

Capability Information

Required Capabilities

LocalServices NetworkServices ReadDeviceData ReadUserData WriteDeviceData WriteUserData

Exceptions

The capability DRM is required in:

EXPORT_C void CSendUi::CreateAndSendMessageL( TUid aServiceUid, const CMessageData* aMessageData, TUid aBioTypeUid, TBool aLaunchEditorEmbedded )

...and...

EXPORT_C void CSendUi::ShowQueryAndSendL( const CMessageData* aMessageData, TSendingCapabilities aRequiredCapabilities, CArrayFix<TUid>* aServicesToDim, TUid aBioTypeUid, TBool aLaunchEditorEmbedded, const TDesC& aTitleText )

...and...

EXPORT_C void CSendUi::ShowTypedQueryAndSendL( TSendUiMenuType aMenuType, const CMessageData* aMessageData, TSendingCapabilities aRequiredCapabilities, CArrayFix<TUid>* aServicesToDim, TUid aBioTypeUid, TBool aLaunchEditorEmbedded, const TDesC& aTitleText )

...when the Send UI client is sending DRM protected files over MMS.


#include <
cmessageaddress.h>

Detailed Description

Encapsulates message recipient real address and alias.

Public Member Functions

virtual IMPORT_C ~CMessageAddress ()
 Destructor.
IMPORT_C void SetAddressL (const TDesC &aAddress)
 Sets real address.
IMPORT_C const TPtrC Address () const
 Returns real address.
IMPORT_C void SetAliasL (const TDesC &aAlias)
 Sets alias for the real address.
IMPORT_C const TPtrC Alias () const
 Returns alias for the address.
IMPORT_C void ExternalizeL (RWriteStream &aStream)
 Externalizes address data to a stream.
IMPORT_C void InternalizeL (RReadStream &aStream)
 Internalizes message data from a stream.

Static Public Member Functions

static IMPORT_C CMessageAddressNewL ()
 Two-phased constructor.
static IMPORT_C CMessageAddressNewLC ()
 Two-phased constructor.

Constructor & Destructor Documentation

virtual IMPORT_C CMessageAddress::~CMessageAddress  )  [virtual]
 

Destructor.


Member Function Documentation

IMPORT_C const TPtrC CMessageAddress::Address  )  const
 

Returns real address.

Returns:
Real address.
IMPORT_C const TPtrC CMessageAddress::Alias  )  const
 

Returns alias for the address.

Returns:
Alias for the real address.
IMPORT_C void CMessageAddress::ExternalizeL RWriteStream &  aStream  ) 
 

Externalizes address data to a stream.

Parameters:
aStream Destination stream
Returns:
None.
IMPORT_C void CMessageAddress::InternalizeL RReadStream &  aStream  ) 
 

Internalizes message data from a stream.

Parameters:
Source stream
Returns:
None.
static IMPORT_C CMessageAddress* CMessageAddress::NewL  )  [static]
 

Two-phased constructor.

static IMPORT_C CMessageAddress* CMessageAddress::NewLC  )  [static]
 

Two-phased constructor.

Leaves object to cleanup stack.

IMPORT_C void CMessageAddress::SetAddressL const TDesC &  aAddress  ) 
 

Sets real address.

Parameters:
aAddress Real address.
Returns:
None.
IMPORT_C void CMessageAddress::SetAliasL const TDesC &  aAlias  ) 
 

Sets alias for the real address.

Parameters:
aAlias Alias for the real address.
Returns:
None.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top