phonebookengines/VirtualPhonebook/VPbkCntModel/inc/MCustomContactViewObserver.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2002-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:  Custom contact view observer API.
       
    15 *
       
    16 */
       
    17 
       
    18  
       
    19 #ifndef VPBKCNTMODEL_MCUSTOMCONTACTVIEWOBSERVER_H
       
    20 #define VPBKCNTMODEL_MCUSTOMCONTACTVIEWOBSERVER_H
       
    21 
       
    22 // FORWARD DECLARATIONS
       
    23 class MVPbkBaseContact;
       
    24 
       
    25 // CLASS DECLARATIONS
       
    26 
       
    27 namespace VPbkCntModel {
       
    28 
       
    29 /**
       
    30  * Custom contact view observer API.
       
    31  */
       
    32 NONSHARABLE_CLASS( MCustomContactViewObserver )
       
    33     {
       
    34     public: // Interface
       
    35 
       
    36         /**
       
    37          * Handles a contact view event sent by the custom made native view.
       
    38          *
       
    39          * @param aView     The view that sent the event.
       
    40          * @param aEvent    The event to handle.
       
    41          */
       
    42         virtual void HandleCustomContactViewEvent(
       
    43                 const CContactViewBase& aView,
       
    44                 const TContactViewEvent& aEvent ) = 0;
       
    45     
       
    46     protected: // Protected destructor
       
    47 
       
    48         /**
       
    49          * Destructor.
       
    50          */
       
    51         virtual ~MCustomContactViewObserver() { }
       
    52     };
       
    53 
       
    54 } /// namespace
       
    55 
       
    56 #endif // VPBKCNTMODEL_MCUSTOMCONTACTVIEWOBSERVER_H
       
    57 
       
    58 // End of File