Dali 3D User Interface Engine
application.cpp
Go to the documentation of this file.
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 "application.h"
20 
21 // EXTERNAL INCLUDES
23 
24 // INTERNAL INCLUDES
25 #include <application-impl.h>
26 
27 namespace Dali
28 {
29 
31 {
32  return New( NULL, NULL );
33 }
34 
35 Application Application::New( int* argc, char **argv[] )
36 {
38  return Application(internal.Get());
39 }
40 
41 Application Application::New( int* argc, char **argv[], const std::string& stylesheet )
42 {
44  return Application(internal.Get());
45 }
46 
47 Application Application::New( int* argc, char **argv[], const std::string& stylesheet, WINDOW_MODE windowMode )
48 {
49  Internal::Adaptor::ApplicationPtr internal = Internal::Adaptor::Application::New( argc, argv, stylesheet, windowMode );
50  return Application(internal.Get());
51 }
52 
54 {
55 }
56 
58 {
59 }
60 
62 : BaseHandle(application)
63 {
64 }
65 
67 {
68  if( *this != application )
69  {
70  BaseHandle::operator=( application );
71  }
72  return *this;
73 }
74 
76 {
78 }
79 
81 {
82  Internal::Adaptor::GetImplementation(*this).MainLoop(configuration);
83 }
84 
86 {
88 }
89 
91 {
93 }
94 
96 {
97  return Internal::Adaptor::GetImplementation(*this).AddIdle( callback );
98 }
99 
101 {
103 }
104 
105 void Application::ReplaceWindow(PositionSize windowPosition, const std::string& name)
106 {
107  Internal::Adaptor::GetImplementation(*this).ReplaceWindow(windowPosition, name);
108 }
109 
111 {
113 }
114 
116 {
118 }
119 
120 void Application::SetStereoBase( float stereoBase )
121 {
123 }
124 
126 {
128 }
129 
131 {
133 }
134 
136 {
138 }
139 
141 {
143 }
144 
146 {
148 }
149 
151 {
153 }
154 
156 {
158 }
159 
161 {
163 }
164 
166 {
168 }
169 
171 {
173 }
174 
176 {
178 }
179 
181 {
183 }
184 
186 : BaseHandle(application)
187 {
188 }
189 
190 
191 } // namespace Dali
Dali Docs Home
Read more about Dali