phonebookui/Phonebook2/inc/MPbk2UiControlAdapterObserver.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 interface for observing commands in a simple way.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPBK2UICONTROLADAPTEROBSERVER_H
       
    20 #define MPBK2UICONTROLADAPTEROBSERVER_H
       
    21 
       
    22 // FORWARD DECLARATIONS
       
    23 class MVPbkStoreContact;
       
    24 class CVPbkContactLinkArray;
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29  * Phonebook 2 interface for observing commands in a simple way.
       
    30  */
       
    31 class MPbk2UiControlAdapterObserver
       
    32     {
       
    33     public: // Interface
       
    34 
       
    35         /**
       
    36          * The command has relocated the contact.
       
    37          * @param aRelocatedContact The new contact.
       
    38          */
       
    39         virtual void ContactContextChanged(
       
    40             const MVPbkBaseContact& aRelocatedContact ) = 0;
       
    41 
       
    42         /**
       
    43          * The command has finished executing.
       
    44          *
       
    45          * Any relocated contacts have been sent to the observer with
       
    46          * ContactRelocatedByPbk2Command() function.
       
    47          */
       
    48         virtual void Pbk2CommandFinished() = 0;
       
    49 
       
    50     protected: // Disabled functions
       
    51         ~MPbk2UiControlAdapterObserver()
       
    52             {}
       
    53     };
       
    54 
       
    55 #endif // MPBK2UICONTROLADAPTEROBSERVER_H
       
    56 
       
    57 // End of File