equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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 QSTMUNKNOWNGESTURERECOGNISER_H_ |
|
20 #define QSTMUNKNOWNGESTURERECOGNISER_H_ |
|
21 |
|
22 #include <qstmgestureengine_if.h> |
|
23 #include <qstmgesture_if.h> |
|
24 #include <qstmgesturelistener_if.h> |
|
25 |
|
26 namespace qstmGesture |
|
27 { |
|
28 |
|
29 /*! |
|
30 * QStm_UnknownGestureRecogniser handles unknown gestures at ERelease |
|
31 * I.e. if no-one else has recognised a gesture when ERelease arrives, |
|
32 * This recogniser can be at the end of the list to inform the app |
|
33 * that something weird is happening... |
|
34 * |
|
35 */ |
|
36 class QStm_UnknownGestureRecogniser : public QStm_GestureRecogniser |
|
37 { |
|
38 public: |
|
39 static const QStm_GestureUid KUid = EGestureUidUnknown; |
|
40 virtual ~QStm_UnknownGestureRecogniser(); |
|
41 virtual QStm_GestureRecognitionState recognise(int numOfActiveStreams, QStm_GestureEngineIf* ge) ; |
|
42 virtual void release(QStm_GestureEngineIf* ge) ; |
|
43 |
|
44 virtual QStm_GestureUid gestureUid() const { return KUid; } |
|
45 |
|
46 QStm_UnknownGestureRecogniser(QStm_GestureListenerIf* listener) ; |
|
47 |
|
48 }; |
|
49 |
|
50 } // namespace |
|
51 |
|
52 #endif /* QSTMUNKNOWNGESTURERECOGNISER_H_ */ |