uifw/uiklaf/inc/LAFBUTB.H
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 1997-1999 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 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __LAFBUTB_H__
       
    20 #define __LAFBUTB_H__
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 #define ELafButBaseDrawClear				0x00
       
    25 #define ELafButBaseDrawSet					0x01
       
    26 #define ELafButBaseDrawIndeterminate		0x02
       
    27 #define ELafButBaseDrawClearPressed			0x10
       
    28 #define ELafButBaseDrawSetPressed			0x11
       
    29 #define ELafButBaseDrawIndeterminatePressed	0x12
       
    30 
       
    31 /**
       
    32  * @internal
       
    33  * Do not use
       
    34  */
       
    35 class LafButtonBase
       
    36 	{
       
    37 public:
       
    38 	enum TBubbleHelpState
       
    39 		{
       
    40 		ENone,
       
    41 		ETrigger,
       
    42 		ECancelTrigger,
       
    43 		ECancel
       
    44 		};
       
    45 public:
       
    46 	IMPORT_C static TInt InputCapabilities();
       
    47 	IMPORT_C static TBubbleHelpState BubbleHelpState(const CCoeControl& aControl,const TPointerEvent& aPointerEvent,TBool aReportOnPointerDown);
       
    48 	IMPORT_C static TBool ReportIfBubbleHelpDisplaying();
       
    49 	};
       
    50 
       
    51 #endif