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.
Can be used to display "Send" list query and to create and send messages via available services. Sending services can be based on the MTM or ECom architecture. Created messages are sent directly or message editor is opened for editing, depending on the type of selected service.
|
Public Types |
enum | TSendUiMenuType { ESendMenu,
EWriteMenu
} |
Public Member Functions |
virtual IMPORT_C | ~CSendUi () |
| Destructor.
|
IMPORT_C void | AddSendMenuItemL (CEikMenuPane &aMenuPane, TInt aIndex, TInt aCommandId, TSendingCapabilities aRequiredCapabilities=TSendingCapabilities::CapabilitiesForAllServices()) |
| Adds "Send" menu item to menupane.
|
IMPORT_C void | ShowQueryAndSendL (const CMessageData *aMessageData, TSendingCapabilities aRequiredCapabilities=TSendingCapabilities::CapabilitiesForAllServices(), CArrayFix< TUid > *aServicesToDim=NULL, TUid aBioTypeUid=KNullUid, TBool aLaunchEditorEmbedded=ETrue, const TDesC &aTitleText=KNullDesC) |
| First displays "Send" pop-up list query and then creates the message.
|
IMPORT_C TUid | ShowSendQueryL (const CMessageData *aMessageData=NULL, TSendingCapabilities aRequiredCapabilities=TSendingCapabilities::CapabilitiesForAllServices(), CArrayFix< TUid > *aServicesToDim=NULL, const TDesC &aTitleText=KNullDesC) |
| Displays "Send" pop-up list query and returns the user selection.
|
IMPORT_C void | CreateAndSendMessageL (TUid aServiceUid, const CMessageData *aMessageData, TUid aBioTypeUid=KNullUid, TBool aLaunchEditorEmbedded=ETrue) |
| Creates the message and launches the editor for editing the message or sends the message directly without opening the editor.
|
IMPORT_C TBool | ValidateServiceL (TUid aServiceUid, TSendingCapabilities aRequiredCapabilities) |
| Validates that service is available and has required capabilities.
|
IMPORT_C TInt | ServiceCapabilitiesL (TUid aServiceUid, TSendingCapabilities &aServiceCapabilities) |
| Returns sending capabilities of the sending service.
|
IMPORT_C TBool | CanSendBioMessage (TUid aBioMessageUid) const |
| Can be used to check if sending of bio message is supported.
|
IMPORT_C void | AvailableServicesL (RPointerArray< CSendingServiceInfo > &aServiceList, TUid aServiceProvider=KNullUid) |
| Populates given list with the information about services provided by specified ECom service provider.
|
IMPORT_C void | AddTypedMenuItemL (TSendUiMenuType aMenuType, CEikMenuPane &aMenuPane, TInt aIndex, TInt aCommandId, TSendingCapabilities aRequiredCapabilities=TSendingCapabilities::CapabilitiesForAllServices()) |
| Adds menu item of given type to menupane.
|
IMPORT_C void | ShowTypedQueryAndSendL (TSendUiMenuType aMenuType, const CMessageData *aMessageData, TSendingCapabilities aRequiredCapabilities=TSendingCapabilities::CapabilitiesForAllServices(), CArrayFix< TUid > *aServicesToDim=NULL, TUid aBioTypeUid=KNullUid, TBool aLaunchEditorEmbedded=ETrue, const TDesC &aTitleText=KNullDesC) |
| Displays list query and creates message.
|
IMPORT_C TUid | ShowTypedQueryL (TSendUiMenuType aMenuType, const CMessageData *aMessageData=NULL, TSendingCapabilities aRequiredCapabilities=TSendingCapabilities::CapabilitiesForAllServices(), CArrayFix< TUid > *aServicesToDim=NULL, const TDesC &aTitleText=KNullDesC) |
| Displays list query and returns the user selection.
|
IMPORT_C TUid | TechnologyType (TUid aServiceUid) const |
| Returns the technology type of a service.
|
Static Public Member Functions |
static IMPORT_C CSendUi * | NewL () |
| Two-phased constructor.
|
static IMPORT_C CSendUi * | NewLC () |
| Two-phased constructor.
|