243d0064b7e7ef189be0449d9c6234b29638d6b0
[platform/core/uifw/dali-adaptor.git] / adaptors / x11 / window-extensions.h
1 #ifndef __DALI_WINDOW_EXTENSIONS_H__
2 #define __DALI_WINDOW_EXTENSIONS_H__
3
4 /*
5  * Copyright (c) 2014 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
21 // INTERNAL INCLUDES
22 #include <dali/public-api/common/dali-common.h>
23
24 namespace Dali
25 {
26 class Window;
27
28 namespace WindowExtensions
29 {
30
31 /**
32  * @brief Set whether the effect will enable or not.
33  *
34  * The effect will be shown when the application is launched, quit, shown and hiden.
35  *
36  * @note This function is only specified by tizen.
37  *
38  * @param[in] window The window to set.
39  * @param[in] enable True if the effect is enabled.
40  */
41 DALI_IMPORT_API void EnableEffect( Window window, bool enable );
42
43 /**
44  * @brief Retrieve whether the effect is enabled or not.
45  *
46  * @note This function is only specified by tizen.
47  *
48  * @param[in] window The window to set.
49  * @return True if the effect is enabled.
50  */
51 DALI_IMPORT_API bool IsEffectEnabled( Window window );
52
53 } // namespace WindowExtensions
54
55 } // namespace Dali
56
57 #endif // __DALI_WINDOW_EXTENSIONS_H__