Purge underscored header file barriers
[platform/core/uifw/dali-toolkit.git] / plugins / dali-script-v8 / src / actors / actor-wrapper.h
index e7899ee..f7a48b3 100644 (file)
@@ -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<v8::Object> 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<v8::ObjectTemplate> 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