1 #ifndef __DALI_TEST_GESTURE_MANAGER_H__
2 #define __DALI_TEST_GESTURE_MANAGER_H__
5 * Copyright (c) 2018 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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.
22 #include <dali/integration-api/gesture-manager.h>
23 #include <dali/public-api/common/dali-common.h>
29 * Concrete implementation of the gesture manager class.
31 class DALI_CORE_API TestGestureManager : public Dali::Integration::GestureManager
44 virtual ~TestGestureManager();
47 * @copydoc Dali::Integration::GestureManager::Register(Gesture::Type)
49 virtual void Register(const Integration::GestureRequest& request);
52 * @copydoc Dali::Integration::GestureManager::Unregister(Gesture::Type)
54 virtual void Unregister(const Integration::GestureRequest& request);
57 * @copydoc Dali::Integration::GestureManager::Update(Gesture::Type)
59 virtual void Update(const Integration::GestureRequest& request);
61 public: // TEST FUNCTIONS
63 // Enumeration of Gesture Manager methods
71 /** Call this every test */
73 bool WasCalled(TestFuncEnum func);
74 void ResetCallStatistics(TestFuncEnum func);
88 TestFunctions mFunctionsCalled;
93 #endif // __DALI_TEST_GESTURE_MANAGER_H__