simpledatamodeladapter/inc/presenceplugincontactsobs.h
branchRCL_3
changeset 35 fbd2e7cec7ef
parent 0 c8caa15ef882
equal deleted inserted replaced
34:2669f8761a99 35:fbd2e7cec7ef
       
     1 /*
       
     2 * Copyright (c) 2010 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:  IETF SIMPLE Protocol implementation for XIMP Framework
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_MPRESENCEPLUGINCONTACTSOBS_H
       
    20 #define M_MPRESENCEPLUGINCONTACTSOBS_H
       
    21 
       
    22 
       
    23 #include <e32std.h>
       
    24 #include "presenceplugincontacts.h"
       
    25 
       
    26 
       
    27 /**
       
    28  *  Callback from virtual phonebook contacts handler
       
    29  *
       
    30  *  @lib presenceplugin.dll
       
    31  *  @since S60 v5.0
       
    32  */
       
    33 class MPresencePluginContactsObs
       
    34     {
       
    35 
       
    36 public:
       
    37 
       
    38     /**
       
    39      * Informs the observer that the operation is completed
       
    40      *
       
    41      * @param aResult Result data returned,ownership is
       
    42      *                transferred to the client.
       
    43      *                In operation EOperationIsPresenceStoredToContacts
       
    44      *                return type is TBool*.
       
    45      * @param aOperation Operation type
       
    46      * @param aError Completion error code
       
    47      */
       
    48     virtual void RequestComplete( TAny* aResult,
       
    49         TPresenceContactsOperation aOperation, TInt aError ) = 0;
       
    50     
       
    51     };
       
    52 
       
    53 
       
    54 #endif // M_PRESENCEPLUGINCONTACTSOBS_H
       
    55 
       
    56 // End of File