TSendingCapabilities 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 <tsendingcapabilities.h>

Detailed Description

Sending capabilities for sending services.

Used by SendUi to filter sending services from "Send" pop-up list query.


Public Types

enum   TSendingFlags {
  EAllServices = 0, ESupportsAttachments = 1, ESupportsBodyText = 2, ESupportsBioSending = 4,
  ESupportsEditor = 8
}

Public Member Functions

IMPORT_C  TSendingCapabilities ()
  Default C++ constructor.
IMPORT_C  TSendingCapabilities (TInt aBodySize, TInt aMessageSize, TInt aFlags)
  C++ constructor.
IMPORT_C TBool  operator== (const TSendingCapabilities &aSendingCapabilities) const
  Overloaded equal operator.
IMPORT_C TBool  operator!= (const TSendingCapabilities &aSendingCapabilities) const
  Overloaded not equal operator.

Static Public Member Functions

static TSendingCapabilities  CapabilitiesForAllServices ()

Data Fields

TInt  iBodySize
TInt  iMessageSize
TInt  iFlags

Member Enumeration Documentation

enum TSendingCapabilities::TSendingFlags
 
Enumerator:
EAllServices 
ESupportsAttachments 
ESupportsBodyText 
ESupportsBioSending 
ESupportsEditor 

Constructor & Destructor Documentation

IMPORT_C TSendingCapabilities::TSendingCapabilities  ) 
 

Default C++ constructor.

IMPORT_C TSendingCapabilities::TSendingCapabilities TInt  aBodySize,
TInt  aMessageSize,
TInt  aFlags
 

C++ constructor.

Parameters:
aBodySize  Maximum body size.
aMessageSize  Maximum whole message size (inc. attachments).
aFlags,:  TSendingFlags.

Member Function Documentation

static TSendingCapabilities TSendingCapabilities::CapabilitiesForAllServices  )  [inline, static]
 
IMPORT_C TBool TSendingCapabilities::operator!= const TSendingCapabilities aSendingCapabilities  )  const
 

Overloaded not equal operator.

Parameters:
aSendingCapabilities  Sending capabilities to be compared
Returns:
ETrue if not equal, otherwise, EFalse
IMPORT_C TBool TSendingCapabilities::operator== const TSendingCapabilities aSendingCapabilities  )  const
 

Overloaded equal operator.

Parameters:
aSendingCapabilities  Sending capabilities to be compared
Returns:
ETrue if equal, otherwise, EFalse

Field Documentation

TInt TSendingCapabilities::iBodySize
 
TInt TSendingCapabilities::iFlags
 
TInt TSendingCapabilities::iMessageSize
 

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

Copyright © Nokia Corporation 2001-2008
Back to top