[dali_2.3.20] Merge branch '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) = default;
49
50 Backend& Backend::operator=(const Backend& handle) = default;
51
52 Backend::Backend(Backend&& handle) = default;
53
54 Backend& Backend::operator=(Backend&& handle) = default;
55
56 Backend::Backend(Internal::Backend* internal)
57 : BaseHandle(internal)
58 {
59 }
60
61 } // namespace Text
62
63 } // namespace Toolkit
64
65 } // namespace Dali