X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-script-v8%2Fsrc%2Factors%2Factor-wrapper.h;h=f7a48b3d64047e398f3f0b13d7355ecc205f0e88;hp=fd121852389e659526c7c41ebc81248c32994167;hb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;hpb=00a82ee18b8b96362eb83cd84141e02ab3221702 diff --git a/plugins/dali-script-v8/src/actors/actor-wrapper.h b/plugins/dali-script-v8/src/actors/actor-wrapper.h index fd12185..f7a48b3 100644 --- a/plugins/dali-script-v8/src/actors/actor-wrapper.h +++ b/plugins/dali-script-v8/src/actors/actor-wrapper.h @@ -1,8 +1,8 @@ -#ifndef __DALI_V8PLUGIN_ACTOR_WRAPPER_H__ -#define __DALI_V8PLUGIN_ACTOR_WRAPPER_H__ +#ifndef DALI_V8PLUGIN_ACTOR_WRAPPER_H +#define DALI_V8PLUGIN_ACTOR_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. @@ -76,13 +76,6 @@ public: static void NewActor( const v8::FunctionCallbackInfo< v8::Value >& args); /** - * @brief Creates a new Control wrapped inside a Javascript Object. - * @note: the control type is passed as a parameter e.g. 'TextField' - * @param[in] args v8 function call arguments interpreted - */ - static void NewControl( const v8::FunctionCallbackInfo< v8::Value >& args); - - /** * @brief Wraps an actor of a given type */ static v8::Handle WrapActor(v8::Isolate* isolate, Dali::Actor actor,ActorType actorType); @@ -107,14 +100,16 @@ public: */ static ActorWrapper::ActorType GetActorType( const std::string& name ); -private: +protected: /** - * Helper to make the actor template + * @brief Helper to make the actor template * */ static v8::Handle MakeDaliActorTemplate( v8::Isolate* isolate, ActorType actorType ); +private: + /** * Helper, get an actor template given an actor type */ @@ -128,4 +123,4 @@ private: } // namespace Dali -#endif // header +#endif // DALI_V8PLUGIN_ACTOR_WRAPPER_H