X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-script-v8%2Fsrc%2Fobject%2Fproperty-value-wrapper.h;h=6a4bbf6742836e4df703bc76f22f48bf676dee97;hp=8cb2dacd00d8e6362c1db452c593a28cb45bb75e;hb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;hpb=5d49d819924da76f96f22845210abe89a7ade187 diff --git a/plugins/dali-script-v8/src/object/property-value-wrapper.h b/plugins/dali-script-v8/src/object/property-value-wrapper.h index 8cb2dac..6a4bbf6 100644 --- a/plugins/dali-script-v8/src/object/property-value-wrapper.h +++ b/plugins/dali-script-v8/src/object/property-value-wrapper.h @@ -1,8 +1,8 @@ -#ifndef __DALI_V8PLUGIN_PROPERTYVALUE_WRAPPER_H__ -#define __DALI_V8PLUGIN_PROPERTYVALUE_WRAPPER_H__ +#ifndef DALI_V8PLUGIN_PROPERTYVALUE_WRAPPER_H +#define DALI_V8PLUGIN_PROPERTYVALUE_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. @@ -90,6 +90,12 @@ public: static Dali::Property::Value ExtractPropertyValue( v8::Isolate* isolate, v8::Local< v8::Value> v8Value, Dali::Property::Type type); /** + * Extract a property value from a javascript object + * @return property value + */ + static Dali::Property::Value ExtractPropertyValue( v8::Isolate* isolate, v8::Local< v8::Value> v8Value); + + /** * @brief Extract a vector or a matrix from a JavaScript array * @return property value ( vector or matrix) */ @@ -153,8 +159,8 @@ private: Dali::Property::Value mValue; ///< property value }; -} // V8Plugin +} // namespace V8Plugin -} // Dali +} // namespace Dali -#endif // header +#endif // DALI_V8PLUGIN_PROPERTYVALUE_WRAPPER_H