Cleaning up the property framework; removal of duplicate methods and incorrect assers
[platform/core/uifw/dali-core.git] / dali / internal / event / object / custom-object-internal.cpp
index f5963f6..8805451 100644 (file)
@@ -22,7 +22,6 @@
 #include <dali/internal/event/common/stage-impl.h>
 #include <dali/internal/update/common/animatable-property.h>
 #include <dali/internal/update/common/property-owner.h>
-#include <dali/internal/update/common/property-owner-messages.h>
 #include <dali/internal/update/manager/update-manager.h>
 #include <dali/internal/update/animation/scene-graph-constraint-base.h>
 
@@ -42,11 +41,6 @@ CustomObject* CustomObject::New()
   return new CustomObject();
 }
 
-bool CustomObject::IsSceneObjectRemovable() const
-{
-  return false;
-}
-
 const SceneGraph::PropertyOwner* CustomObject::GetSceneObject() const
 {
   return mUpdateObject;
@@ -113,15 +107,6 @@ Property::Value CustomObject::GetDefaultProperty(Property::Index index) const
   return Property::Value();
 }
 
-void CustomObject::InstallSceneObjectProperty( PropertyBase& newProperty, const std::string& name, unsigned int index )
-{
-  if( NULL != mUpdateObject )
-  {
-    // mUpdateObject is being used in a separate thread; queue a message to add the property
-    InstallCustomPropertyMessage( Stage::GetCurrent()->GetUpdateInterface(), *mUpdateObject, newProperty ); // Message takes ownership
-  }
-}
-
 CustomObject::~CustomObject()
 {
   // Guard to allow handle destruction after Core has been destroyed