messagingfw/deprecate/senduiservices/inc/senduiserviceclient.h
branchRCL_3
changeset 22 d2c4c66342f3
equal deleted inserted replaced
21:e5b3a2155e1a 22:d2c4c66342f3
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   Clientside class for launching SendUi from SendUiLauncher 
       
    15 *               (server application)
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 #ifndef R_SENDUISERVICECLIENT_H
       
    23 #define R_SENDUISERVICECLIENT_H
       
    24 
       
    25 #include <aknappui.h>
       
    26 #include <AknServerApp.h>
       
    27 #include <SendUiConsts.h>
       
    28 
       
    29 class CMessageData;
       
    30 
       
    31 const TInt KMessageBufferSize = 4 * sizeof(TUint32);
       
    32 
       
    33 /**
       
    34  *  SendUI Server Application API implentation, client side
       
    35  *
       
    36  *  @lib sendui.lib
       
    37  *  @since S60 S60 v3.2
       
    38  */
       
    39 NONSHARABLE_CLASS (RSendUiServiceClient) : public RAknAppServiceBase
       
    40     {
       
    41 
       
    42 public:
       
    43 
       
    44     /**
       
    45      * Requests SendUi launch on server application side
       
    46      *
       
    47      * @since S60 v3.2
       
    48      * @param aServiceUid Sending service Uid
       
    49      * @param aLaunchEmbedded ETrue, if editor is to be launched embedded
       
    50      * @param CMessageData Message to be sent
       
    51      */
       
    52      void LaunchSendUiL( 
       
    53         TUid& aServiceUid,
       
    54         TUid& aServiceProviderUid,
       
    55         TBool& aLaunchEmbedded, 
       
    56         const CMessageData* aMessageData );
       
    57 
       
    58 // from base class RAknAppServiceBase
       
    59 
       
    60     /**
       
    61      * From RAknAppServiceBase.
       
    62      * Return Service identifier
       
    63      *
       
    64      * @since S60 v3.2
       
    65      * @return Service's identification
       
    66      */
       
    67     TUid ServiceUid() const;
       
    68 
       
    69     virtual ~RSendUiServiceClient();
       
    70 
       
    71     };
       
    72 
       
    73 #endif // R_SENDUISERVICECLIENT_H