wvuing/wvuipresence/inc/MCAListInitObserver.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  Observer API for presence events
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MCALISTINITOBSERVER_H
       
    20 #define MCALISTINITOBSERVER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 #include "MCAPresence.h"
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Class that wishes to receive events about changed presence flags
       
    30 *  in friends-list.
       
    31 *
       
    32 *
       
    33 *  @lib CAPresence.lib
       
    34 *  @since 1.2
       
    35 */
       
    36 class MCAListInitObserver
       
    37     {
       
    38 
       
    39     public:
       
    40 
       
    41         /**
       
    42         * Gets called when presence state of a friend/friends
       
    43         * from friends-list changes. When client receives multiple updates
       
    44         * at once, this will still get called only once.
       
    45         */
       
    46         virtual void HandleListInitChange( TBool aCompleted ) = 0;
       
    47 
       
    48 
       
    49     protected:
       
    50 
       
    51         /**
       
    52         * Destructor.
       
    53         */
       
    54         virtual ~MCAListInitObserver() {};
       
    55     };
       
    56 
       
    57 #endif      // MCALISTINITOBSERVER_H
       
    58 
       
    59 // End of File