phonebookui/Phonebook2/inc/MPbk2PointerEventInspector.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 pointer event observer.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPBK2POINTEREVENTINSPECTOR_H
       
    20 #define MPBK2POINTEREVENTINSPECTOR_H
       
    21 
       
    22 // CLASS DECLARATION
       
    23 
       
    24 /**
       
    25  * Phonebook 2 pointer event inspector.
       
    26  */
       
    27 class MPbk2PointerEventInspector
       
    28     {
       
    29     public: // Interface
       
    30 
       
    31         /**
       
    32          * Returns true if the focused item was pointed.
       
    33          *
       
    34          * @return  ETrue if the focused item was pointed, EFalse otherwise.
       
    35          */
       
    36         virtual TBool FocusedItemPointed() = 0;
       
    37 
       
    38         /**
       
    39          * Returns true if a focusable item was pointed.
       
    40          *
       
    41          * @return  ETrue if a focusable item was pointed, EFalse otherwise.
       
    42          */
       
    43         virtual TBool FocusableItemPointed() = 0;
       
    44 
       
    45         /**
       
    46          * Returns true if search field was pointed.
       
    47          *
       
    48          * @return ETrue if search field was pointed, EFalse otherwise.
       
    49          */
       
    50         virtual TBool SearchFieldPointed() = 0;
       
    51 
       
    52     protected: // Disabled functions
       
    53         virtual ~MPbk2PointerEventInspector()
       
    54             {}
       
    55     };
       
    56 
       
    57 #endif // MPBK2POINTEREVENTINSPECTOR_H
       
    58 
       
    59 // End of File