phonebookui/Phonebook/App/inc/MPbkContactInfoNavigationCallback.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *     Contact Info View navigation callback interface.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __MPbkContactInfoNavigationCallback_H__
       
    21 #define __MPbkContactInfoNavigationCallback_H__
       
    22 
       
    23 
       
    24 //  INCLUDES
       
    25 #include <cntdef.h>
       
    26 
       
    27 //  FORWARD DECLARATIONS
       
    28 
       
    29 
       
    30 //  CLASS DECLARATION
       
    31 
       
    32 /**
       
    33  * Contact Info View navigation callback interface. 
       
    34  */
       
    35 class MPbkContactInfoNavigationCallback
       
    36     {
       
    37     public: // interface
       
    38         /**
       
    39          * Changed contact to aContactId.
       
    40          */
       
    41         virtual void ChangeContactL(TContactItemId aContactId) = 0;
       
    42 
       
    43         /**
       
    44          * Returns a instance of the statuspane or NULL if not present.
       
    45          */
       
    46         virtual CEikStatusPane* GetStatusPane() const = 0;
       
    47 
       
    48         /**
       
    49          * Returns the current contact item id.
       
    50          */
       
    51         virtual TContactItemId GetContactItemId() const = 0;
       
    52 
       
    53     protected:  // Destructor
       
    54         virtual ~MPbkContactInfoNavigationCallback() { }
       
    55     };
       
    56 
       
    57 #endif // __MPbkContactInfoNavigationCallback_H__
       
    58       
       
    59 // End of File