Merge "Change BuildRequires of dali2-toolkit to Requires" into devel/master
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / rendering / text-backend.cpp
1 /*
2  * Copyright (c) 2015 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-toolkit/internal/text/rendering/text-backend.h>
20
21 // INTERNAL INCLUDES
22 #include <dali-toolkit/internal/text/rendering/text-backend-impl.h>
23
24 namespace Dali
25 {
26 namespace Toolkit
27 {
28 namespace Text
29 {
30 Backend Backend::Get()
31 {
32   return Internal::Backend::Get();
33 }
34
35 RendererPtr Backend::NewRenderer(unsigned int renderingType)
36 {
37   return GetImplementation(*this).NewRenderer(renderingType);
38 }
39
40 Backend::Backend()
41 {
42 }
43
44 Backend::~Backend()
45 {
46 }
47
48 Backend::Backend(const Backend& handle)
49 : BaseHandle(handle)
50 {
51 }
52
53 Backend& Backend::operator=(const Backend& handle)
54 {
55   BaseHandle::operator=(handle);
56   return *this;
57 }
58
59 Backend::Backend(Internal::Backend* internal)
60 : BaseHandle(internal)
61 {
62 }
63
64 } // namespace Text
65
66 } // namespace Toolkit
67
68 } // namespace Dali