Purge underscored header file barriers
[platform/core/uifw/dali-toolkit.git] / plugins / dali-script-v8 / src / object / handle-wrapper.h
index 2e612c7..98f9c22 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_V8PLUGIN_HANDLE_WRAPPER_H__
-#define __DALI_V8PLUGIN_HANDLE_WRAPPER_H__
+#ifndef DALI_V8PLUGIN_HANDLE_WRAPPER_H
+#define DALI_V8PLUGIN_HANDLE_WRAPPER_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.
@@ -81,6 +81,13 @@ public:
    */
   static void RegisterAnimatableProperty( const v8::FunctionCallbackInfo< v8::Value >& args );
 
+  /**
+   * @brief Register a custom property for a JavaScript object that
+   * contains a Dali Handle.
+   * @param[in] args v8 function call arguments interpreted
+   */
+  static void RegisterCustomProperty( const v8::FunctionCallbackInfo< v8::Value >& args );
+
   Handle GetHandle() { return mHandle; }
   Handle mHandle;
   ConnectionTracker mConnectionTracker;
@@ -94,9 +101,8 @@ private:
 
 };
 
-
 } // namespace V8Plugin
 
 } // namespace Dali
 
-#endif // header
+#endif // DALI_V8PLUGIN_HANDLE_WRAPPER_H