javauis/lcdui_akn/javalcdui/inc.nokialcdui/CTactileFeedbackInterfaceESWT.h
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     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:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "MTactileFeedbackInterface.h"
       
    19 #include <eswt.h>
       
    20 #include <mswtclient.h>
       
    21 #include <swtcliententry.h>
       
    22 #include <swtfunctor.h>
       
    23 
       
    24 
       
    25 class CTactileFeedbackInterfaceESWT : public CBase, public MTactileFeedbackInterface
       
    26 {
       
    27     MSwtClient* iESWT_client;
       
    28     MTouchFeedback* iFeedback;
       
    29 
       
    30 public:
       
    31     CTactileFeedbackInterfaceESWT(MSwtClient* aESWT_client);
       
    32 
       
    33 
       
    34     virtual void DirectFeedback(TTouchLogicalFeedback aStyle);
       
    35     virtual void RegisterFeedbackArea(void* aControl, TInt aControlType, TInt aAreaIndex, TInt aX, TInt aY, TInt aWidth, TInt aHeight, TTouchLogicalFeedback aStyle);
       
    36     virtual void UnregisterFeedbackArea(void* aControl, TInt aControlType, TInt aAreaIndex);
       
    37     virtual void UnregisterFeedbackForControl(void* aControl,  TInt aControlType);
       
    38     virtual void MoveAreaToFirstPriority(void* aControl, TInt aControlType, TInt aAreaIndex);
       
    39     virtual TBool IsTouchFeedbackSupported();
       
    40 
       
    41 };
       
    42