phonebookui/Phonebook2/inc/mpbk2commanditemupdater.h
branchRCL_3
changeset 20 f4a778e096c2
parent 0 e686773b3f54
equal deleted inserted replaced
19:5b6f26637ad3 20:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2009 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 command item updater
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPBK2COMMANDITEMUPDATER_H
       
    20 #define MPBK2COMMANDITEMUPDATER_H
       
    21 
       
    22 // CLASS DECLARATION
       
    23 
       
    24 /**
       
    25  * Phonebook 2 contact UI control update 2 interface.
       
    26  */
       
    27 class MPbk2CommandItemUpdater
       
    28     {
       
    29     public: // Interface
       
    30 
       
    31         /**
       
    32          * Updates command item presented in the UI.
       
    33          * In other words redraws the corresponding list box line.
       
    34          *
       
    35          * @param aCommandId      Command identifier
       
    36          */
       
    37         virtual void UpdateCommandItem( TInt aCommandId ) = 0;
       
    38 
       
    39         /**
       
    40          * Returns an extension point for this interface or NULL.
       
    41          *
       
    42          * @param aExtensionUid     Extension UID.
       
    43          * @return  Extension point.
       
    44          */
       
    45         virtual TAny* MPbk2CommandItemUpdaterExtension(
       
    46                 TUid /*aExtensionUid*/ )
       
    47             {
       
    48             return NULL;
       
    49             }
       
    50 
       
    51     protected: // Protected functions
       
    52         virtual ~MPbk2CommandItemUpdater()
       
    53             {}
       
    54     };
       
    55 
       
    56 #endif // MPBK2COMMANDITEMUPDATER_H
       
    57 
       
    58 // End of File