Revert "[Tizen] Move DevelHandle::GetCurrentProperty to public"
[platform/core/uifw/dali-core.git] / dali / devel-api / object / handle-devel.cpp
index f1057fe..8350e3a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 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.
@@ -21,6 +21,7 @@
 // INTERNAL INCLUDES
 #include <dali/public-api/object/property-key.h>
 #include <dali/internal/event/common/object-impl.h>
+#include <dali/internal/event/common/type-info-impl.h>
 
 namespace Dali
 {
@@ -43,6 +44,16 @@ Property::Index RegisterProperty( Handle handle, Property::Index key, const std:
   return GetImplementation( handle ).RegisterProperty( name, key, propertyValue );
 }
 
+void SetTypeInfo( Handle& handle, const TypeInfo& typeInfo )
+{
+  GetImplementation( handle ).SetTypeInfo( &GetImplementation( typeInfo ) );
+}
+
+Property::Value GetCurrentProperty( Handle handle, Property::Index index )
+{
+  return GetImplementation( handle ).GetCurrentProperty( index );
+}
+
 } // namespace DevelHandle
 
 } // namespace Dali