Moved TextAbstraction to use absolute paths
[platform/core/uifw/dali-adaptor.git] / text / dali / public-api / text-abstraction / shaping.h
1 #ifndef __DALI_PLATFORM_TEXT_ABSTRACTION_SHAPING_H__
2 #define __DALI_PLATFORM_TEXT_ABSTRACTION_SHAPING_H__
3
4 /*
5  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20 #include <dali/public-api/object/base-handle.h>
21
22 namespace Dali
23 {
24
25 namespace Internal DALI_INTERNAL
26 {
27
28 namespace TextAbstraction
29 {
30 class Shaping;
31 } // TextAbstraction
32 } // Internal
33
34 namespace TextAbstraction
35 {
36
37
38 /**
39  *   Shaping API
40  *
41  */
42 class DALI_IMPORT_API Shaping : public BaseHandle
43 {
44
45 public:
46
47     /**
48      * @brief Create an uninitialized TextAbstraction handle.
49      *
50      */
51     Shaping();
52
53     /**
54      * @brief Destructor
55      *
56      * This is non-virtual since derived Handle types must not contain data or virtual methods.
57      */
58     ~Shaping();
59
60     /**
61      * @brief This constructor is used by Shaping::Get().
62      *
63      * @param[in] shaping  A pointer to the internal shaping object.
64      */
65     explicit DALI_INTERNAL Shaping( Dali::Internal::TextAbstraction::Shaping* shaping);
66
67     /**
68      * @brief Retrieve a handle to the Shaping instance.
69      *
70      * @return A handle to the Shaping
71      */
72     static Shaping Get();
73
74 };
75
76 } // namespace TextAbstraction
77
78 } // namespace Dali
79
80 #endif // __DALI_PLATFORM_TEXT_ABSTRACTION_SHAPING_H__