4 * Copyright (c) 2013 Samsung Electronics Co., Ltd. All rights reserved.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 #ifndef __LAUNCHER_H__
21 #define __LAUNCHER_H__
24 #include <bundle_internal.h>
27 #include <Elementary.h>
28 #include <appcore-common.h>
33 #define POWERKEY_SYSPOPUP "powerkey-syspopup"
34 #define OVERHEAT_SYSPOPUP "overheat-syspopup"
35 #define SYSTEM_SYSPOPUP "system-syspopup"
36 #define CRASH_SYSPOPUP "crash-syspopup"
39 #define SETTING_ENCRYPTING_APP "org.tizen.setting.encrypting"
40 #define SETTING_LIGHTOFF_APP "org.tizen.setting.turnofflight"
41 #define SETTING_DATAUSAGE_APP "org.tizen.setting-data"
43 /* App to show Host devices list */
44 #define HOST_DEVICES "org.tizen.host-devices"
45 #define APPOPER_TYPE "_TYPE_"
46 #define APPOPER_TYPE_DEVICE_LIST "DEVICE_LIST"
48 /* Notification icons */
49 #define DATAUSAGE_ICON SYSTEM_ICONDIR"/datausage_warning.png"
50 #define LED_TORCH_ICON SYSTEM_ICONDIR"/led_torch.png"
51 #define ODE_ENCRYPT_ICON SYSTEM_ICONDIR"/sdcard_encryption.png"
52 #define ODE_DECRYPT_ICON SYSTEM_ICONDIR"/sdcard_decryption.png"
53 #define ODE_ENCRYPT_ERROR_ICON SYSTEM_ICONDIR"/sdcard_encryption_error.png"
54 #define ODE_DECRYPT_ERROR_ICON SYSTEM_ICONDIR"/sdcard_decryption_error.png"
55 #define TIMA_ICON SYSTEM_ICONDIR"/tima.png"
56 #define USB_ICON SYSTEM_ICONDIR"/usb_icon.png"
57 #define BATT_INDI_ICON SYSTEM_ICONDIR"/batt_full_indicator.png"
58 #define BATT_NOTI_ICON SYSTEM_ICONDIR"/batt_full_icon.png"
59 #define COOLDOWN_NOTI_ICON SYSTEM_ICONDIR"/noti_cooling_down.png"
63 #define CRADLE_APP_NAME "org.tizen.desk-dock"
64 #define PWLOCK_APP_NAME "org.tizen.pwlock"
65 #define SERVANT_APP_NAME "/usr/bin/system-cooperator"
87 BATTERY_CRITICAL_USB_ACT,
89 BATTERY_CRITICAL_CHG_ACT,
93 /* Add here additional notificatoins */
102 struct edbus_method {
104 const char *signature;
105 const char *reply_signature;
106 E_DBus_Method_Cb func;
110 struct edbus_object {
112 const char *interface;
114 E_DBus_Interface *iface;
115 const struct edbus_method *methods;
116 const int methods_len;
120 DBusMessage *launch_popup(E_DBus_Object *obj, DBusMessage *msg, char *name);
121 #endif /* __LAUNCHER_H__ */