1 #ifndef __DALI_TEST_GESTURE_MANAGER_H__
2 #define __DALI_TEST_GESTURE_MANAGER_H__
5 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
7 // Licensed under the Flora License, Version 1.0 (the License);
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
11 // http://floralicense.org/license/
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an AS IS BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
21 #include <dali/integration-api/gesture-manager.h>
22 #include <dali/public-api/common/dali-common.h>
28 * Concrete implementation of the gesture manager class.
30 class DALI_IMPORT_API TestGestureManager : public Dali::Integration::GestureManager
43 virtual ~TestGestureManager();
46 * @copydoc Dali::Integration::GestureManager::Register(Gesture::Type)
48 virtual void Register(const Integration::GestureRequest& request);
51 * @copydoc Dali::Integration::GestureManager::Unregister(Gesture::Type)
53 virtual void Unregister(const Integration::GestureRequest& request);
56 * @copydoc Dali::Integration::GestureManager::Update(Gesture::Type)
58 virtual void Update(const Integration::GestureRequest& request);
60 public: // TEST FUNCTIONS
62 // Enumeration of Gesture Manager methods
70 /** Call this every test */
72 bool WasCalled(TestFuncEnum func);
73 void ResetCallStatistics(TestFuncEnum func);
87 TestFunctions mFunctionsCalled;
92 #endif // __DALI_TEST_GESTURE_MANAGER_H__