2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include <dali/public-api/object/property-notification.h>
22 #include <dali/public-api/math/quaternion.h>
23 #include <dali/public-api/math/degree.h>
24 #include <dali/public-api/math/radian.h>
25 #include <dali/public-api/math/vector2.h>
26 #include <dali/public-api/object/handle.h>
27 #include <dali/internal/event/common/property-notification-impl.h>
33 PropertyNotification::PropertyNotification()
37 PropertyNotification::PropertyNotification(Internal::PropertyNotification* propertyNotification)
38 : BaseHandle(propertyNotification)
42 PropertyNotification PropertyNotification::DownCast( BaseHandle handle )
44 return PropertyNotification( dynamic_cast<Dali::Internal::PropertyNotification*>(handle.GetObjectPtr()) );
47 PropertyNotification::~PropertyNotification()
51 PropertyCondition PropertyNotification::GetCondition()
53 return GetImplementation(*this).GetCondition();
56 const PropertyCondition& PropertyNotification::GetCondition() const
58 return GetImplementation(*this).GetCondition();
61 Dali::Handle PropertyNotification::GetTarget() const
63 return GetImplementation(*this).GetTarget();
66 Property::Index PropertyNotification::GetTargetProperty() const
68 return GetImplementation(*this).GetTargetProperty();
71 void PropertyNotification::SetNotifyMode( NotifyMode mode )
73 GetImplementation(*this).SetNotifyMode( mode );
76 PropertyNotification::NotifyMode PropertyNotification::GetNotifyMode()
78 return GetImplementation(*this).GetNotifyMode();
81 bool PropertyNotification::GetNotifyResult() const
83 return GetImplementation(*this).GetNotifyResult();
86 PropertyNotifySignalV2& PropertyNotification::NotifySignal()
88 return GetImplementation(*this).NotifySignal();