phonebookui/Phonebook2/GroupExtension/inc/MPguGroupOperationObserver.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-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:  Phonebook 2 group operation observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPGUGROUPOPERATIONOBSERVER_H
       
    20 #define MPGUGROUPOPERATIONOBSERVER_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32def.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 class CPguGroupOperation;
       
    27 
       
    28 /**
       
    29  * Phonebook 2 group operation observer.
       
    30  */
       
    31 class MPguGroupOperationObserver
       
    32     {
       
    33     public: // Interface
       
    34 
       
    35         /**
       
    36          * Called after the group operation is completed
       
    37          *
       
    38          * @param aOperation Completed operation
       
    39          * @param aError KErrNone - success
       
    40          *               generic error code - Failure
       
    41          */
       
    42         virtual void GroupOperationComplete(
       
    43             const CPguGroupOperation* aOperation,
       
    44             TInt aError ) = 0;
       
    45 
       
    46     protected: // Protected functions
       
    47         virtual ~MPguGroupOperationObserver() {}
       
    48     };
       
    49 
       
    50 #endif // MPGUGROUPOPERATIONOBSERVER_H
       
    51 
       
    52 // End of File