Revert "Revert "[Tizen] Revert "Use touch consumed return to set whether we process...
[platform/core/uifw/dali-core.git] / dali / internal / event / events / hover-event-processor.h
index 5cd0308..7cae6ca 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) 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.
@@ -38,7 +38,7 @@ namespace Internal
 {
 
 struct ActorObserver;
-class Stage;
+class Scene;
 
 /**
  * <h3>Multi-Hover Event Processing:</h3>
@@ -54,9 +54,9 @@ 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
@@ -77,7 +77,7 @@ private:
   // Undefined
   HoverEventProcessor& operator=(const HoverEventProcessor& rhs);
 
-  Stage& mStage; ///< Used to deliver touch events
+  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
@@ -88,4 +88,4 @@ private:
 
 } // namespace Dali
 
-#endif // __DALI_INTERNAL_HOVER_EVENT_PROCESSOR_H__
+#endif // DALI_INTERNAL_HOVER_EVENT_PROCESSOR_H