From: Adeel Kazmi Date: Mon, 24 Jun 2019 11:11:28 +0000 (+0100) Subject: Remove unused gesture-manager.h X-Git-Tag: dali_1.4.26~3 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-core.git;a=commitdiff_plain;h=refs%2Fchanges%2F53%2F208453%2F2 Remove unused gesture-manager.h Change-Id: Id9ec439638fb93a994ded33b1e93f394edb24d6b --- diff --git a/dali/integration-api/core.h b/dali/integration-api/core.h index df3bec0..f11c187 100644 --- a/dali/integration-api/core.h +++ b/dali/integration-api/core.h @@ -41,7 +41,6 @@ class Core; namespace Integration { class Core; -class GestureManager; class GlAbstraction; class GlSyncAbstraction; class PlatformAbstraction; @@ -199,8 +198,6 @@ private: * * 6) Provide an implementation of the GlAbstraction interface, used to access OpenGL services. * - * 7) Provide an implementation of the GestureManager interface, used to register gestures provided by the platform. - * * Multi-threading notes: * * The Dali API methods are not reentrant. If you access the API from multiple threads simultaneously, then the results @@ -227,7 +224,6 @@ public: * @param[in] platformAbstraction The interface providing platform specific services. * @param[in] glAbstraction The interface providing OpenGL services. * @param[in] glSyncAbstraction The interface providing OpenGL sync objects. - * @param[in] gestureManager The interface providing gesture manager services. * @param[in] policy The data retention policy. This depends on application setting * and platform support. Dali should honour this policy when deciding to discard * intermediate resource data. diff --git a/dali/integration-api/gesture-manager.h b/dali/integration-api/gesture-manager.h deleted file mode 100644 index 8b261e1..0000000 --- a/dali/integration-api/gesture-manager.h +++ /dev/null @@ -1,73 +0,0 @@ -#ifndef DALI_INTEGRATION_GESTURE_MANAGER_H -#define DALI_INTEGRATION_GESTURE_MANAGER_H - -/* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -// INTERNAL INCLUDES -#include -#include - -namespace Dali -{ - -namespace Integration -{ - -/** - * GestureManager is an abstract interface, used by Dali to register and unregister gestures provided - * by the adaptor. A concrete implementation must be created for each adaptor, and provided when creating - * the Dali::Integration::Core object. - */ -class DALI_CORE_API GestureManager -{ -public: - - /** - * Called by Dali to enable the adaptor to start detecting the required gesture type. - * @param[in] request The required gesture and details. - */ - virtual void Register(const GestureRequest& request) = 0; - - /** - * Called by Dali to inform the adaptor that it no longer requires a GestureEvent when the state - * gesture type is detected. - * @param[in] request The gesture that is no longer required. - */ - virtual void Unregister(const GestureRequest& request) = 0; - - /** - * Called by Dali to inform the adaptor that the detection parameters of a previously requested - * gesture have now changed. - * @param[in] request The gesture and updated details. - */ - virtual void Update(const GestureRequest& request) = 0; - -protected: - - /** - * Virtual destructor, no deletion through this interface - */ - virtual ~GestureManager() {} - -}; // class GestureManager - -} // namespace Integration - -} // namespace Dali - -#endif // DALI_INTEGRATION_GESTURE_MANAGER_H diff --git a/dali/internal/event/events/gesture-event-processor.h b/dali/internal/event/events/gesture-event-processor.h index c79bd28..7a81295 100644 --- a/dali/internal/event/events/gesture-event-processor.h +++ b/dali/internal/event/events/gesture-event-processor.h @@ -61,7 +61,6 @@ public: /** * Create a gesture event processor. * @param[in] updateManager The update manager - * @param[in] gestureManager The gesture manager * @param[in] renderController The render controller */ GestureEventProcessor( SceneGraph::UpdateManager& updateManager, Integration::RenderController& renderController ); diff --git a/dali/internal/event/events/pan-gesture-processor.h b/dali/internal/event/events/pan-gesture-processor.h index dcc813c..efa443d 100644 --- a/dali/internal/event/events/pan-gesture-processor.h +++ b/dali/internal/event/events/pan-gesture-processor.h @@ -56,7 +56,6 @@ public: /** * Create a pan gesture processor. - * @param[in] gestureManager The gesture manager * @param[in] updateManager The Update Manager */ PanGestureProcessor( SceneGraph::UpdateManager& updateManager ); diff --git a/dali/internal/event/events/pinch-gesture-processor.h b/dali/internal/event/events/pinch-gesture-processor.h index 3bbd75d..dc99a7a 100644 --- a/dali/internal/event/events/pinch-gesture-processor.h +++ b/dali/internal/event/events/pinch-gesture-processor.h @@ -50,7 +50,6 @@ public: /** * Create a pinch gesture processor. - * @param[in] gestureManager The gesture manager */ PinchGestureProcessor(); diff --git a/dali/internal/event/events/tap-gesture-processor.h b/dali/internal/event/events/tap-gesture-processor.h index df64cb7..f31d045 100644 --- a/dali/internal/event/events/tap-gesture-processor.h +++ b/dali/internal/event/events/tap-gesture-processor.h @@ -49,7 +49,6 @@ public: /** * Create a tap gesture processor. - * @param[in] gestureManager The gesture manager. */ TapGestureProcessor();