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 POWEROFF_SYSPOPUP "poweroff-syspopup"
34 #define SYSTEM_SYSPOPUP "system-syspopup"
35 #define CRASH_SYSPOPUP "crash-syspopup"
38 #define SETTING_ENCRYPTING_APP "org.tizen.setting.encrypting"
39 #define SETTING_LIGHTOFF_APP "org.tizen.setting.turnofflight"
40 #define SETTING_DATAUSAGE_UG "setting-datausage-efl"
42 /* App to show Host devices list */
43 #define HOST_DEVICES "org.tizen.host-devices"
44 #define APPOPER_TYPE "_TYPE_"
45 #define APPOPER_TYPE_DEVICE_LIST "DEVICE_LIST"
47 /* Notification icons */
48 #define DATAUSAGE_ICON SYSTEM_ICONDIR"/datausage_warning.png"
49 #define LED_TORCH_ICON SYSTEM_ICONDIR"/led_torch.png"
50 #define ODE_ENCRYPT_ICON SYSTEM_ICONDIR"/sdcard_encryption.png"
51 #define ODE_DECRYPT_ICON SYSTEM_ICONDIR"/sdcard_decryption.png"
52 #define ODE_ENCRYPT_ERROR_ICON SYSTEM_ICONDIR"/sdcard_encryption_error.png"
53 #define ODE_DECRYPT_ERROR_ICON SYSTEM_ICONDIR"/sdcard_decryption_error.png"
54 #define TIMA_ICON SYSTEM_ICONDIR"/tima.png"
55 #define USB_ICON SYSTEM_ICONDIR"/usb.png"
56 #define BATT_INDI_ICON SYSTEM_ICONDIR"/batt_full_indicator.png"
57 #define BATT_NOTI_ICON SYSTEM_ICONDIR"/batt_full_icon.png"
60 #define CRADLE_APP_NAME "org.tizen.desk-dock"
61 #define PWLOCK_APP_NAME "org.tizen.pwlock"
62 #define SERVANT_APP_NAME "/usr/bin/system-servant"
79 /* Add here additional notificatoins */
93 const char *signature;
94 const char *reply_signature;
95 E_DBus_Method_Cb func;
101 const char *interface;
103 E_DBus_Interface *iface;
104 const struct edbus_method *methods;
105 const int methods_len;
109 DBusMessage *launch_popup(E_DBus_Object *obj,
110 DBusMessage *msg, char *name);
111 DBusMessage *launch_poweroff_popup(E_DBus_Object *obj,
112 DBusMessage *msg, char *name);
114 #endif /* __LAUNCHER_H__ */