Update copyright year to 2015 for public api: core
[platform/core/uifw/dali-core.git] / dali / public-api / animation / path.h
index 2fb2077..2531d08 100644 (file)
@@ -2,7 +2,7 @@
 #define __DALI_PATH_H__
 
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 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.
@@ -20,6 +20,7 @@
 
 // INTERNAL INCLUDES
 #include <dali/public-api/object/handle.h>
+#include <dali/public-api/object/property-index-ranges.h>
 
 namespace Dali
 {
@@ -38,8 +39,18 @@ class DALI_IMPORT_API Path : public Handle
 {
 public:
 
-  static const Property::Index POINTS;               ///< name "points",          type ARRAY of Vector3
-  static const Property::Index CONTROL_POINTS;       ///< name "control-points",  type ARRAY of Vector3
+  /**
+   * @brief An enumeration of properties belonging to the Path class.
+   */
+  struct Property
+  {
+    enum
+    {
+      POINTS         = DEFAULT_OBJECT_PROPERTY_START_INDEX, ///< name "points",         type Vector3
+      CONTROL_POINTS,                                       ///< name "control-points", type Vector3
+    };
+  };
+
   /**
    * @brief Create an initialized Path handle.
    *