Move function definition to aul header
[platform/core/appfw/aul-1.git] / src / app_signal.h
1 /*
2  * Copyright (c) 2000 - 2017 Samsung Electronics Co., Ltd All Rights Reserved
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 #pragma once
18
19 #define AUL_DBUS_PATH                           "/aul/dbus_handler"
20 #define AUL_DBUS_SIGNAL_INTERFACE               "org.tizen.aul.signal"
21 #define AUL_DBUS_APPDEAD_SIGNAL                 "app_dead"
22 #define AUL_DBUS_APPLAUNCH_SIGNAL               "app_launch"
23 #define AUL_DBUS_HOMELAUNCH_SIGNAL              "home_launch"
24
25 #define AUL_APP_STATUS_DBUS_PATH                "/Org/Tizen/Aul/AppStatus"
26 #define AUL_APP_STATUS_DBUS_SIGNAL_INTERFACE    "org.tizen.aul.AppStatus"
27 #define AUL_APP_STATUS_DBUS_LAUNCH_REQUEST      "AppLaunch"
28 #define AUL_APP_STATUS_DBUS_RESUME_REQUEST      "AppResume"
29 #define AUL_APP_STATUS_DBUS_TERMINATE_REQUEST   "AppTerminate"
30 #define AUL_APP_STATUS_DBUS_STATUS_CHANGE       "AppStatusChange"
31 #define AUL_APP_STATUS_DBUS_GROUP               "AppGroup"
32 #define AUL_APP_STATUS_DBUS_TERMINATED          "AppTerminated"
33
34 #define SYSTEM_PATH_CORE                        "/org/tizen/system"
35 #define SYSTEM_INTERFACE_CORE                   "org.tizen.system.Booting"
36 #define SYSTEM_SIGNAL_BOOTING_DONE              "BootingDone"
37
38 #define SYSTEM_PATH_THERMAL                     "/Org/Tizen/System/Thermal"
39 #define SYSTEM_INTERFACE_THERMAL                "org.tizen.system.thermal"
40 #define SYSTEM_SIGNAL_COOLDOWN_MODE_CHANGED     "CoolDownModeChanged"
41
42 #define TEP_BUS_NAME                            "org.tizen.system.deviced"
43 #define TEP_OBJECT_PATH                         "/Org/Tizen/System/DeviceD/Tzip"
44 #define TEP_INTERFACE_NAME                      "org.tizen.system.deviced.Tzip"
45 #define TEP_MOUNT_METHOD                        "Mount"
46 #define TEP_UNMOUNT_METHOD                      "Unmount"
47 #define TEP_IS_MOUNTED_METHOD                   "IsMounted"
48
49 #define RESOURCED_BUS_NAME                      "org.tizen.resourced"
50 #define RESOURCED_PROC_PATH                     "/Org/Tizen/ResourceD/Process"
51 #define RESOURCED_PROC_INTERFACE                "org.tizen.resourced.process"
52 #define RESOURCED_PROC_STATUS_SIGNAL            "ProcStatus"
53 #define RESOURCED_PROC_PRELAUNCH_SIGNAL         "ProcPrelaunch"
54 #define RESOURCED_PROC_WATCHDOG_SIGNAL          "ProcWatchdog"
55 #define RESOURCED_PROC_METHOD                   "ProcExclude"
56 #define RESOURCED_PROC_TYPE_EXCLUDE             "exclude"
57 #define RESOURCED_PROC_TYPE_INCLUDE             "include"
58 #define RESOURCED_PROC_TYPE_WAKEUP              "wakeup"
59
60 #define RESOURCED_FREEZER_PATH                  "/Org/Tizen/Resourced/Freezer"
61 #define RESOURCED_FREEZER_INTERFACE             "org.tizen.resourced.freezer"
62 #define RESOURCED_FREEZER_SIGNAL                "FreezerState"
63
64 #define ROTATION_BUS_NAME                       "org.tizen.system.coord"
65 #define ROTATION_OBJECT_PATH                    "/Org/Tizen/System/Coord/Rotation"
66 #define ROTATION_INTERFACE_NAME                 "org.tizen.system.coord.rotation"
67 #define ROTATION_METHOD_NAME                    "Degree"
68
69 #define APPFW_SUSPEND_HINT_PATH                 "/Org/Tizen/Appfw/SuspendHint"
70 #define APPFW_SUSPEND_HINT_INTERFACE            "org.tizen.appfw.SuspendHint"
71 #define APPFW_SUSPEND_HINT_SIGNAL               "SuspendHint"