tizen 2.3 release
[framework/appfw/aul-1.git] / include / app_signal.h
1 /*
2  *  aul
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Jayoun Lee <airjany@samsung.com>, Sewook Park <sewook7.park@samsung.com>, Jaeho Lee <jaeho81.lee@samsung.com>
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21
22
23 #ifndef __APP_SIGNAL_H__
24 #define __APP_SIGNAL_H__
25
26 #include <dbus/dbus.h>
27
28 #define AUL_DBUS_PATH "/aul/dbus_handler"
29 #define AUL_DBUS_SIGNAL_INTERFACE "com.samsung.aul.signal"
30 #define AUL_DBUS_APPDEAD_SIGNAL "app_dead"
31 #define AUL_DBUS_APPLAUNCH_SIGNAL       "app_launch"
32 #define AUL_DBUS_HOMELAUNCH_SIGNAL      "home_launch"
33
34 #ifdef _APPFW_FEATURE_CPU_BOOST
35 #define SYSTEM_BUS_NAME       "org.tizen.system.deviced"
36 #define SYSTEM_OBJECT_PATH    "/Org/Tizen/System/DeviceD/PmQos"
37 #define SYSTEM_INTERFACE_NAME "org.tizen.system.deviced.PmQos"
38 #define SYSTEM_METHOD_NAME    "AppLaunch"
39 #endif
40
41 #define SYSTEM_PATH_CORE        "/Org/Tizen/System/DeviceD/Core"
42 #define SYSTEM_INTERFACE_CORE   "org.tizen.system.deviced.core"
43
44 #define SYSTEM_SIGNAL_BOOTING_DONE              "BootingDone"
45
46 #define SYSTEM_PATH_SYSNOTI     "/Org/Tizen/System/DeviceD/SysNoti"
47 #define SYSTEM_INTERFACE_SYSNOTI        "org.tizen.system.deviced.SysNoti"
48
49 #define SYSTEM_SIGNAL_COOLDOWN_CHANGED          "CoolDownChanged"
50
51 #define RESOURCED_PATH_CORE     "/Org/Tizen/ResourceD/Process"
52 #define RESOURCED_INTERFACE_CORE        "org.tizen.resourced.process"
53
54 #define RESOURCED_SIGNAL_PROCESS_STATUS         "ProcStatus"
55
56 #define ROTATION_BUS_NAME       "org.tizen.system.coord"
57 #define ROTATION_OBJECT_PATH    "/Org/Tizen/System/Coord/Rotation"
58 #define ROTATION_INTERFACE_NAME "org.tizen.system.coord.rotation"
59 #define ROTATION_METHOD_NAME    "Degree"
60
61 #define RESOURCED_PROC_OBJECT           "/Org/Tizen/ResourceD/Process"
62 #define RESOURCED_PROC_INTERFACE        "org.tizen.resourced.process"
63 #define RESOURCED_PROC_METHOD           "ProcExclude"
64
65 #define RESOURCED_PROC_WATCHDOG_SIGNAL "ProcWatchdog"
66
67 #define PROC_TYPE_EXCLUDE               "exclude"
68 #define PROC_TYPE_INCLUDE               "include"
69 #define PROC_TYPE_WAKEUP                "wakeup"
70
71 #ifdef _APPFW_FEATURE_VISIBILITY_CHECK_BY_LCD_STATUS
72 #define DEVICED_PATH_DISPLAY    "/Org/Tizen/System/DeviceD/Display"
73 #define DEVICED_INTERFACE_DISPLAY       "org.tizen.system.deviced.display"
74
75 #define DEVICED_SIGNAL_LCD_ON                   "LCDOn"
76 #define DEVICED_SIGNAL_LCD_OFF          "LCDOff"
77 #endif
78 #endif