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=e7899ee1d94be3c9bc779d566a9564ed46502443;hb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;hpb=a15b41d8a287aac7174a6df3cee708cfa0c2aeba diff --git a/plugins/dali-script-v8/src/actors/actor-wrapper.h b/plugins/dali-script-v8/src/actors/actor-wrapper.h index e7899ee..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. @@ -49,9 +49,8 @@ public: { UNKNOWN_ACTOR = -1, ACTOR = 0, - IMAGE_ACTOR = 1, - LAYER_ACTOR = 2, - CAMERA_ACTOR = 3 + LAYER_ACTOR = 1, + CAMERA_ACTOR = 2 }; /** @@ -77,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); @@ -108,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 */ @@ -129,4 +123,4 @@ private: } // namespace Dali -#endif // header +#endif // DALI_V8PLUGIN_ACTOR_WRAPPER_H