wvuing/wvuieng/EngInc/MCAGroupEventObserver.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:  Signalling for UI components about group events
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MCAGROUPEVENTOBSERVER_H
       
    20 #define MCAGROUPEVENTOBSERVER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28  *  MCAGroupEventObserver interface class. Provides signalling for the UI
       
    29  *  components.  As the name states mainly changes in the group states are
       
    30  *  reported to the UI.
       
    31  *  Used to observe events of one group.
       
    32  *
       
    33  *  @lib CAEngine.lib
       
    34  *  @since 2.1
       
    35  */
       
    36 class MCAGroupEventObserver
       
    37     {
       
    38     public:  // Interface
       
    39 
       
    40         /**
       
    41          * Called when new group properties are received from the
       
    42          * the network. These are server initiated properties.
       
    43          */
       
    44         virtual void HandleGroupPropertiesChanged() = 0;
       
    45 
       
    46         /**
       
    47          * Called when the group has been deleted, or forced kick out of the group.
       
    48          * @param aReason The CSP error code
       
    49          */
       
    50         virtual void HandleGroupLeft( TInt aReason ) = 0;
       
    51 
       
    52     protected:
       
    53 
       
    54         /**
       
    55          * Destructor.
       
    56          */
       
    57         virtual ~MCAGroupEventObserver() {};
       
    58     };
       
    59 
       
    60 #endif  // MCAGROUPEVENTOBSERVER_H
       
    61 
       
    62 // End of File