-#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.
*/
static void AddInterceptsToTemplate( v8::Isolate* isolate, v8::Local<v8::ObjectTemplate>& objTemplate );
+ /**
+ * @brief Register an animatable property for a JavaScript object that
+ * contains a Dali Handle.
+ * @param[in] args v8 function call arguments interpreted
+ */
+ 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;
};
-
} // namespace V8Plugin
} // namespace Dali
-#endif // header
+#endif // DALI_V8PLUGIN_HANDLE_WRAPPER_H