Revert "[Tizen] Not execute the remove callback"
[platform/core/uifw/dali-core.git] / dali / internal / event / events / wheel-event-processor.h
index bc26322..73fa498 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_INTERNAL_WHEEL_EVENT_PROCESSOR_H__
-#define __DALI_INTERNAL_WHEEL_EVENT_PROCESSOR_H__
+#ifndef DALI_INTERNAL_WHEEL_EVENT_PROCESSOR_H
+#define DALI_INTERNAL_WHEEL_EVENT_PROCESSOR_H
 
 /*
- * Copyright (c) 2014 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.
  *
  */
 
+#include <vector>
+
 namespace Dali
 {
-
 namespace Integration
 {
 struct WheelEvent;
@@ -28,8 +29,7 @@ struct WheelEvent;
 
 namespace Internal
 {
-
-class Stage;
+class Scene;
 
 /**
  *  WheelEventProcessor receives the wheel events from the Dali Event processor.
@@ -42,11 +42,10 @@ class Stage;
 class WheelEventProcessor
 {
 public:
-
   /**
    * Create a wheel event processor.
    */
-  WheelEventProcessor(Stage& stage);
+  WheelEventProcessor(Scene& scenes);
 
   /**
    * Non-virtual destructor; WheelEventProcessor is not a base class
@@ -60,7 +59,6 @@ public:
   void ProcessWheelEvent(const Integration::WheelEvent& event);
 
 private:
-
   // Undefined
   WheelEventProcessor(const WheelEventProcessor&);
 
@@ -68,12 +66,11 @@ private:
   WheelEventProcessor& operator=(const WheelEventProcessor& rhs);
 
 private:
-
-  Stage& mStage;               ///< Used to deliver the wheel events
+  Scene& mScene; ///< Used to deliver the wheel events
 };
 
 } // namespace Internal
 
 } // namespace Dali
 
-#endif // __DALI_INTERNAL_WHEEL_EVENT_PROCESSOR_H__
+#endif // DALI_INTERNAL_WHEEL_EVENT_PROCESSOR_H