Clean up the code to build successfully on macOS
[platform/core/uifw/dali-core.git] / dali / devel-api / update / update-proxy.cpp
1 /*
2  * Copyright (c) 2020 Samsung Electronics Co., Ltd.
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18 // CLASS HEADER
19 #include <dali/devel-api/update/update-proxy.h>
20
21 // INTERNAL INCLUDES
22 #include <dali/internal/update/manager/update-proxy-impl.h>
23
24 namespace Dali
25 {
26 bool UpdateProxy::GetPosition(uint32_t id, Vector3& position) const
27 {
28   return mImpl.GetPosition(id, position);
29 }
30
31 bool UpdateProxy::SetPosition(uint32_t id, const Vector3& position)
32 {
33   return mImpl.SetPosition(id, position);
34 }
35
36 bool UpdateProxy::BakePosition(uint32_t id, const Vector3& position)
37 {
38   return mImpl.BakePosition(id, position);
39 }
40
41 bool UpdateProxy::GetSize(uint32_t id, Vector3& size) const
42 {
43   return mImpl.GetSize(id, size);
44 }
45
46 bool UpdateProxy::SetSize(uint32_t id, const Vector3& size)
47 {
48   return mImpl.SetSize(id, size);
49 }
50
51 bool UpdateProxy::BakeSize(uint32_t id, const Vector3& size)
52 {
53   return mImpl.BakeSize(id, size);
54 }
55
56 bool UpdateProxy::GetPositionAndSize(uint32_t id, Vector3& position, Vector3& size) const
57 {
58   return mImpl.GetPositionAndSize(id, position, size);
59 }
60
61 bool UpdateProxy::GetScale(uint32_t id, Vector3& scale) const
62 {
63   return mImpl.GetScale(id, scale);
64 }
65
66 bool UpdateProxy::SetScale(uint32_t id, const Vector3& scale)
67 {
68   return mImpl.SetScale(id, scale);
69 }
70
71 bool UpdateProxy::BakeScale(uint32_t id, const Vector3& scale)
72 {
73   return mImpl.BakeScale(id, scale);
74 }
75
76 bool UpdateProxy::GetColor(uint32_t id, Vector4& color) const
77 {
78   return mImpl.GetColor(id, color);
79 }
80
81 bool UpdateProxy::SetColor(uint32_t id, const Vector4& color)
82 {
83   return mImpl.SetColor(id, color);
84 }
85
86 bool UpdateProxy::BakeColor(uint32_t id, const Vector4& color)
87 {
88   return mImpl.BakeColor(id, color);
89 }
90
91 UpdateProxy::UpdateProxy(Internal::UpdateProxy& impl)
92 : mImpl(impl)
93 {
94 }
95
96 UpdateProxy::~UpdateProxy()
97 {
98 }
99
100 } // namespace Dali