mpx/inc/mpxclientlistobserver.h
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     1 /*
       
     2 * Copyright (c) 2007 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:  MPX client list observer interface definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MMPXCLIENTLISTOBSERVER_H
       
    21 #define MMPXCLIENTLISTOBSERVER_H
       
    22 
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32base.h>
       
    26 
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34  *  MPX client list observer.
       
    35  *
       
    36  *  @lib mpxcommon.lib
       
    37  *  @since S60 v3.1
       
    38  */
       
    39 NONSHARABLE_CLASS( MMPXClientlistObserver )
       
    40     {
       
    41 public:
       
    42     enum TChangeType
       
    43         {
       
    44         EAdd,
       
    45         ERemove
       
    46         };
       
    47     /**
       
    48      * Handle client change
       
    49      *
       
    50      * @since 3.1
       
    51      * @param aPid Process id of the client
       
    52      * @param aChangeType EAdd - new client added, ERemove - a client is removed.
       
    53      */
       
    54     virtual void HandleClientChange(const TProcessId& aPid, 
       
    55                                     TChangeType aChangeType) = 0;
       
    56     };
       
    57 
       
    58 #endif  // MMPXCLIENTLISTOBSERVER_H
       
    59 
       
    60 // End of File