[Tizen] Not execute the remove callback
[platform/core/uifw/dali-core.git] / dali / internal / event / events / hover-event-processor.h
index 5cd0308..5b4116f 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_INTERNAL_HOVER_EVENT_PROCESSOR_H__
-#define __DALI_INTERNAL_HOVER_EVENT_PROCESSOR_H__
+#ifndef DALI_INTERNAL_HOVER_EVENT_PROCESSOR_H
+#define DALI_INTERNAL_HOVER_EVENT_PROCESSOR_H
 
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 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.
@@ -24,7 +24,6 @@
 
 namespace Dali
 {
-
 class Actor;
 struct Vector2;
 struct Vector4;
@@ -36,9 +35,8 @@ struct HoverEvent;
 
 namespace Internal
 {
-
 struct ActorObserver;
-class Stage;
+class Scene;
 
 /**
  * <h3>Multi-Hover Event Processing:</h3>
@@ -51,12 +49,11 @@ class Stage;
 class HoverEventProcessor
 {
 public:
-
   /**
    * Create an event processor.
-   * @param[in] stage The stage.
+   * @param[in] scene The scene the event processor belongs to.
    */
-  HoverEventProcessor( Stage& stage );
+  HoverEventProcessor(Scene& scene);
 
   /**
    * Non-virtual destructor; HoverEventProcessor is not a base class
@@ -67,25 +64,24 @@ public:
    * This function is called by the event processor whenever a hover event occurs.
    * @param[in] event The hover event that has occurred.
    */
-  void ProcessHoverEvent( const Integration::HoverEvent& event );
+  void ProcessHoverEvent(const Integration::HoverEvent& event);
 
 private:
-
   // Undefined
   HoverEventProcessor(const HoverEventProcessor&);
 
   // Undefined
   HoverEventProcessor& operator=(const HoverEventProcessor& rhs);
 
-  Stage& mStage; ///< Used to deliver touch events
-  ActorObserver mLastPrimaryHitActor; ///< Stores the last primary point hit actor
-  ActorObserver mLastConsumedActor; ///< Stores the last consumed actor
+  Scene&        mScene;                   ///< Reference to the scene
+  ActorObserver mLastPrimaryHitActor;     ///< Stores the last primary point hit actor
+  ActorObserver mLastConsumedActor;       ///< Stores the last consumed actor
   ActorObserver mHoverStartConsumedActor; ///< Stores the hover-start consumed actor
-  RenderTaskPtr mLastRenderTask; ///< The RenderTask used for the last hit actor
+  RenderTaskPtr mLastRenderTask;          ///< The RenderTask used for the last hit actor
 };
 
 } // namespace Internal
 
 } // namespace Dali
 
-#endif // __DALI_INTERNAL_HOVER_EVENT_PROCESSOR_H__
+#endif // DALI_INTERNAL_HOVER_EVENT_PROCESSOR_H