-#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.
{
UNKNOWN_ACTOR = -1,
ACTOR = 0,
- IMAGE_ACTOR = 1,
- LAYER_ACTOR = 2,
- CAMERA_ACTOR = 3
+ LAYER_ACTOR = 1,
+ CAMERA_ACTOR = 2
};
/**
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<v8::Object> WrapActor(v8::Isolate* isolate, Dali::Actor actor,ActorType actorType);
*/
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<v8::ObjectTemplate> MakeDaliActorTemplate( v8::Isolate* isolate, ActorType actorType );
+private:
+
/**
* Helper, get an actor template given an actor type
*/
} // namespace Dali
-#endif // header
+#endif // DALI_V8PLUGIN_ACTOR_WRAPPER_H