X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Factors%2Fcustom-actor.cpp;h=f536e7b6c064842ed866b200ad24711c0bc01fc1;hb=337560e080de3951f07a64da841a86d66ff3355b;hp=e21c826804b4c74d9c4be2b593929ae0b712c5bf;hpb=9ec8333cc04a6d48814f9c7840f82dc26e84480e;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/actors/custom-actor.cpp b/dali/public-api/actors/custom-actor.cpp index e21c826..f536e7b 100644 --- a/dali/public-api/actors/custom-actor.cpp +++ b/dali/public-api/actors/custom-actor.cpp @@ -54,6 +54,24 @@ CustomActor::~CustomActor() { } +CustomActor::CustomActor(const CustomActor& copy) +: Actor(copy) +{ +} + +CustomActor& CustomActor::operator=(const CustomActor& rhs) +{ + BaseHandle::operator=(rhs); + return *this; +} + +CustomActor& CustomActor::operator=(BaseHandle::NullType* rhs) +{ + DALI_ASSERT_ALWAYS( (rhs == NULL) && "Can only assign NULL pointer to handle"); + Reset(); + return *this; +} + CustomActorImpl& CustomActor::GetImplementation() { Internal::CustomActor& internal = GetImpl(*this);