Add AllowTextPrediction/IsTextPredictionAllowed api
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / lifecycle-controller.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/devel-api/adaptor-framework/lifecycle-controller.h>
20
21 // INTERNAL INCLUDES
22 #include <dali/internal/adaptor/common/lifecycle-controller-impl.h>
23
24 namespace Dali
25 {
26
27 LifecycleController::LifecycleController()
28 {
29 }
30
31 LifecycleController::LifecycleController(const LifecycleController& controller)
32 : BaseHandle(controller)
33 {
34 }
35
36 LifecycleController LifecycleController::Get()
37 {
38   return Internal::Adaptor::LifecycleController::Get();
39 }
40
41 LifecycleController::~LifecycleController()
42 {
43 }
44
45 LifecycleController::LifecycleSignalType& LifecycleController::InitSignal()
46 {
47   return GetImplementation(*this).InitSignal();
48 }
49
50 LifecycleController::LifecycleSignalType& LifecycleController::TerminateSignal()
51 {
52   return GetImplementation(*this).TerminateSignal();
53 }
54
55 LifecycleController::LifecycleSignalType& LifecycleController::PauseSignal()
56 {
57   return GetImplementation(*this).PauseSignal();
58 }
59
60 LifecycleController::LifecycleSignalType& LifecycleController::ResumeSignal()
61 {
62   return GetImplementation(*this).ResumeSignal();
63 }
64
65 LifecycleController::LifecycleSignalType& LifecycleController::ResetSignal()
66 {
67   return GetImplementation(*this).ResetSignal();
68 }
69
70 LifecycleController::LifecycleSignalType& LifecycleController::ResizeSignal()
71 {
72   return GetImplementation(*this).ResizeSignal();
73 }
74
75 LifecycleController::LifecycleSignalType& LifecycleController::LanguageChangedSignal()
76 {
77   return GetImplementation(*this).LanguageChangedSignal();
78 }
79
80 LifecycleController& LifecycleController::operator=(const LifecycleController& monitor)
81 {
82   if( *this != monitor )
83   {
84     BaseHandle::operator=(monitor);
85   }
86   return *this;
87 }
88
89 LifecycleController::LifecycleController(Internal::Adaptor::LifecycleController* internal)
90 : BaseHandle(internal)
91 {
92 }
93
94 } // namespace Dali