DALi Version 1.0.38
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / builder / tree-node.h
index 44c0671..69e6e47 100644 (file)
@@ -1,30 +1,29 @@
 #ifndef __DALI_SCRIPT_TREE_NODE_H__
 #define __DALI_SCRIPT_TREE_NODE_H__
 
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Flora License, Version 1.0 (the License);
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://floralicense.org/license/
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an AS IS BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
+/*
+ * Copyright (c) 2014 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
 
+// EXTERNAL INCLUDES
 #include <utility> // pair
 #include <iterator>
-#include <vector>
-
-// INTERNAL INCLUDES
 #include <dali/public-api/common/dali-common.h>
 
-namespace Dali DALI_IMPORT_API
+namespace Dali
 {
 
 namespace Toolkit
@@ -43,7 +42,7 @@ class TreeNodeManipulator;
  * TreeNode does not own its string data which is held by a container eg JsonParser
  * Modification operations should be done through a container.
  */
-class TreeNode
+class DALI_IMPORT_API TreeNode
 {
 public:
   /*
@@ -207,11 +206,11 @@ private:
   /*
    * Constructor
    */
-  TreeNode();
+  DALI_INTERNAL TreeNode();
 
   // non copyable or assignable
-  TreeNode(TreeNode &);
-  TreeNode& operator=(const TreeNode&);
+  DALI_INTERNAL TreeNode(TreeNode &);
+  DALI_INTERNAL TreeNode& operator=(const TreeNode&);
 
   const char* mName;                   ///< The nodes name (if any)