Purge underscored header file barriers
[platform/core/uifw/dali-toolkit.git] / plugins / dali-script-v8 / src / events / event-object-generator.h
index d1d6296..897a3c2 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_V8PLUGIN_EVENT_OBJECT_GENERATOR_H__
-#define __DALI_V8PLUGIN_EVENT_OBJECT_GENERATOR_H__
+#ifndef DALI_V8PLUGIN_EVENT_OBJECT_GENERATOR_H
+#define DALI_V8PLUGIN_EVENT_OBJECT_GENERATOR_H
 
 /*
- * Copyright (c) 2015 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.
@@ -21,7 +21,7 @@
 
 // EXTERNAL INCLUDES
 #include <v8.h>
-#include <dali/public-api/events/touch-event.h>
+#include <dali/public-api/events/touch-data.h>
 #include <dali/public-api/events/hover-event.h>
 #include <dali/public-api/events/wheel-event.h>
 #include <dali/public-api/events/key-event.h>
@@ -42,18 +42,15 @@ namespace V8Plugin
 namespace EventObjectGenerator
 {
 
-  v8::Handle<v8::Object> CreateTouchEvent( v8::Isolate* isolate, const TouchEvent& touchEvent);
+  v8::Handle<v8::Object> CreateTouchData( v8::Isolate* isolate, const TouchData& touch );
   v8::Handle<v8::Object> CreateHoverEvent( v8::Isolate* isolate, const HoverEvent& hoverEvent);
   v8::Handle<v8::Object> CreateWheelEvent( v8::Isolate* isolate, const WheelEvent& wheelEvent);
   v8::Handle<v8::Object> CreateKeyEvent( v8::Isolate* isolate, const KeyEvent& keyEvent);
   v8::Handle<v8::Object> CreatePanGesture( v8::Isolate* isolate, const PanGesture& panGesture);
-
-
-
 };
 
 } // namespace V8Plugin
 
 } // namespace Dali
 
-#endif // header
+#endif // DALI_V8PLUGIN_EVENT_OBJECT_GENERATOR_H