wvuing/wvuiprocess/Inc/MCAInvitationObserverPC.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2003 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:  Interface for Chat observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MCAINVITATIONOBSERVERPC_H
       
    20 #define MCAINVITATIONOBSERVERPC_H
       
    21 
       
    22 
       
    23 //INCLUDES
       
    24 #include <e32std.h>
       
    25 #include "TEnumsPC.h"
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29  *  Search observer interface to the UI.
       
    30  *  Signalling goes from the Engine -> UI.
       
    31  *
       
    32  *  @lib wvprocessng.lib
       
    33  *  @since 3.2
       
    34  */
       
    35 class MCAInvitationObserverPC
       
    36     {
       
    37     public:
       
    38 
       
    39         /**
       
    40          * Gets called when invite event occurs.
       
    41          * @param aEvent Type of event.
       
    42          * @param aUserId userid of the sender
       
    43          * @param aMessage invite message
       
    44          */
       
    45         virtual void HandleInvitationEventL( TEnumsPC::TInviteType aInviteType, TInt aIndex ) = 0;
       
    46 
       
    47         /**
       
    48         * Gets called when we received response to our invitation
       
    49         * @param aAcceptance Accepted or rejected
       
    50         * @param aUserId User Id of the response sender
       
    51         * @param aGroupName group name
       
    52         * @param aResponse response text
       
    53         */
       
    54         virtual void HandleInvitationResponse( TBool aAcceptance,
       
    55                                                const TDesC& aUserId,
       
    56                                                const TDesC& aGroupName,
       
    57                                                const TDesC& aResponse ) = 0;
       
    58 
       
    59     public:
       
    60         /**
       
    61          * Destructor.
       
    62          */
       
    63         virtual ~MCAInvitationObserverPC() {};
       
    64     };
       
    65 
       
    66 #endif      // MCASEARCHOBSERVERINTERFACE_H
       
    67 
       
    68 // End of File