Remove unused gesture-manager.h 53/208453/2
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 24 Jun 2019 11:11:28 +0000 (12:11 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 24 Jun 2019 12:54:24 +0000 (13:54 +0100)
Change-Id: Id9ec439638fb93a994ded33b1e93f394edb24d6b

dali/integration-api/core.h
dali/integration-api/gesture-manager.h [deleted file]
dali/internal/event/events/gesture-event-processor.h
dali/internal/event/events/pan-gesture-processor.h
dali/internal/event/events/pinch-gesture-processor.h
dali/internal/event/events/tap-gesture-processor.h

index df3bec0..f11c187 100644 (file)
@@ -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 (file)
index 8b261e1..0000000
+++ /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 <dali/public-api/events/gesture.h>
-#include <dali/integration-api/events/gesture-requests.h>
-
-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
index c79bd28..7a81295 100644 (file)
@@ -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 );
index dcc813c..efa443d 100644 (file)
@@ -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 );
index 3bbd75d..dc99a7a 100644 (file)
@@ -50,7 +50,6 @@ public:
 
   /**
    * Create a pinch gesture processor.
-   * @param[in] gestureManager The gesture manager
    */
   PinchGestureProcessor();
 
index df64cb7..f31d045 100644 (file)
@@ -49,7 +49,6 @@ public:
 
   /**
    * Create a tap gesture processor.
-   * @param[in] gestureManager The gesture manager.
    */
   TapGestureProcessor();