From c9f116585bd0f0a664aba76455e7be4186a4eda1 Mon Sep 17 00:00:00 2001 From: "jy910.yun" Date: Tue, 2 Jul 2013 18:58:07 +0900 Subject: [PATCH] remove the build dependency btw system-server and libsvi sys_device_noti directory moved into system-popup Signed-off-by: jy910.yun --- CMakeLists.txt | 1 - packaging/system-server.spec | 3 - ss_device_change_handler.c | 13 +- ss_lowbat_handler.c | 5 + sys_device_noti/CMakeLists.txt | 31 ---- sys_device_noti/data/batt_full_icon.png | Bin 3201 -> 0 bytes sys_device_noti/po_sys_device_noti/CMakeLists.txt | 24 --- sys_device_noti/po_sys_device_noti/ar.po | 6 - sys_device_noti/po_sys_device_noti/az.po | 6 - sys_device_noti/po_sys_device_noti/bg.po | 6 - sys_device_noti/po_sys_device_noti/ca.po | 6 - sys_device_noti/po_sys_device_noti/cs.po | 6 - sys_device_noti/po_sys_device_noti/da.po | 6 - sys_device_noti/po_sys_device_noti/de_DE.po | 6 - sys_device_noti/po_sys_device_noti/el_GR.po | 6 - sys_device_noti/po_sys_device_noti/en.po | 6 - sys_device_noti/po_sys_device_noti/en_PH.po | 6 - sys_device_noti/po_sys_device_noti/en_US.po | 6 - sys_device_noti/po_sys_device_noti/es_ES.po | 6 - sys_device_noti/po_sys_device_noti/es_US.po | 6 - sys_device_noti/po_sys_device_noti/et.po | 6 - sys_device_noti/po_sys_device_noti/eu.po | 6 - sys_device_noti/po_sys_device_noti/fi.po | 6 - sys_device_noti/po_sys_device_noti/fr_CA.po | 6 - sys_device_noti/po_sys_device_noti/fr_FR.po | 6 - sys_device_noti/po_sys_device_noti/ga.po | 6 - sys_device_noti/po_sys_device_noti/gl.po | 6 - sys_device_noti/po_sys_device_noti/hi.po | 6 - sys_device_noti/po_sys_device_noti/hr.po | 6 - sys_device_noti/po_sys_device_noti/hu.po | 6 - sys_device_noti/po_sys_device_noti/hy.po | 6 - sys_device_noti/po_sys_device_noti/is.po | 6 - sys_device_noti/po_sys_device_noti/it_IT.po | 6 - sys_device_noti/po_sys_device_noti/ja_JP.po | 6 - sys_device_noti/po_sys_device_noti/ka.po | 6 - sys_device_noti/po_sys_device_noti/kk.po | 6 - sys_device_noti/po_sys_device_noti/ko_KR.po | 6 - sys_device_noti/po_sys_device_noti/lt.po | 6 - sys_device_noti/po_sys_device_noti/lv.po | 6 - sys_device_noti/po_sys_device_noti/mk.po | 6 - sys_device_noti/po_sys_device_noti/nb.po | 6 - sys_device_noti/po_sys_device_noti/nl_NL.po | 6 - sys_device_noti/po_sys_device_noti/pl.po | 6 - sys_device_noti/po_sys_device_noti/pt_BR.po | 6 - sys_device_noti/po_sys_device_noti/pt_PT.po | 6 - sys_device_noti/po_sys_device_noti/ro.po | 6 - sys_device_noti/po_sys_device_noti/ru_RU.po | 6 - sys_device_noti/po_sys_device_noti/sk.po | 6 - sys_device_noti/po_sys_device_noti/sl.po | 6 - sys_device_noti/po_sys_device_noti/sr.po | 6 - sys_device_noti/po_sys_device_noti/sv.po | 6 - sys_device_noti/po_sys_device_noti/tr_TR.po | 6 - sys_device_noti/po_sys_device_noti/uk.po | 6 - sys_device_noti/po_sys_device_noti/uz.po | 6 - sys_device_noti/po_sys_device_noti/zh_CN.po | 6 - sys_device_noti/po_sys_device_noti/zh_HK.po | 6 - sys_device_noti/po_sys_device_noti/zh_SG.po | 6 - sys_device_noti/po_sys_device_noti/zh_TW.po | 6 - sys_device_noti/sys_device_noti.c | 204 ---------------------- sys_device_noti/sys_device_noti.h | 45 ----- 60 files changed, 17 insertions(+), 615 deletions(-) delete mode 100755 sys_device_noti/CMakeLists.txt delete mode 100755 sys_device_noti/data/batt_full_icon.png delete mode 100644 sys_device_noti/po_sys_device_noti/CMakeLists.txt delete mode 100755 sys_device_noti/po_sys_device_noti/ar.po delete mode 100755 sys_device_noti/po_sys_device_noti/az.po delete mode 100755 sys_device_noti/po_sys_device_noti/bg.po delete mode 100755 sys_device_noti/po_sys_device_noti/ca.po delete mode 100755 sys_device_noti/po_sys_device_noti/cs.po delete mode 100755 sys_device_noti/po_sys_device_noti/da.po delete mode 100755 sys_device_noti/po_sys_device_noti/de_DE.po delete mode 100755 sys_device_noti/po_sys_device_noti/el_GR.po delete mode 100755 sys_device_noti/po_sys_device_noti/en.po delete mode 100755 sys_device_noti/po_sys_device_noti/en_PH.po delete mode 100755 sys_device_noti/po_sys_device_noti/en_US.po delete mode 100755 sys_device_noti/po_sys_device_noti/es_ES.po delete mode 100755 sys_device_noti/po_sys_device_noti/es_US.po delete mode 100755 sys_device_noti/po_sys_device_noti/et.po delete mode 100755 sys_device_noti/po_sys_device_noti/eu.po delete mode 100755 sys_device_noti/po_sys_device_noti/fi.po delete mode 100755 sys_device_noti/po_sys_device_noti/fr_CA.po delete mode 100755 sys_device_noti/po_sys_device_noti/fr_FR.po delete mode 100755 sys_device_noti/po_sys_device_noti/ga.po delete mode 100755 sys_device_noti/po_sys_device_noti/gl.po delete mode 100755 sys_device_noti/po_sys_device_noti/hi.po delete mode 100755 sys_device_noti/po_sys_device_noti/hr.po delete mode 100755 sys_device_noti/po_sys_device_noti/hu.po delete mode 100755 sys_device_noti/po_sys_device_noti/hy.po delete mode 100755 sys_device_noti/po_sys_device_noti/is.po delete mode 100755 sys_device_noti/po_sys_device_noti/it_IT.po delete mode 100755 sys_device_noti/po_sys_device_noti/ja_JP.po delete mode 100755 sys_device_noti/po_sys_device_noti/ka.po delete mode 100755 sys_device_noti/po_sys_device_noti/kk.po delete mode 100755 sys_device_noti/po_sys_device_noti/ko_KR.po delete mode 100755 sys_device_noti/po_sys_device_noti/lt.po delete mode 100755 sys_device_noti/po_sys_device_noti/lv.po delete mode 100755 sys_device_noti/po_sys_device_noti/mk.po delete mode 100755 sys_device_noti/po_sys_device_noti/nb.po delete mode 100755 sys_device_noti/po_sys_device_noti/nl_NL.po delete mode 100755 sys_device_noti/po_sys_device_noti/pl.po delete mode 100755 sys_device_noti/po_sys_device_noti/pt_BR.po delete mode 100755 sys_device_noti/po_sys_device_noti/pt_PT.po delete mode 100755 sys_device_noti/po_sys_device_noti/ro.po delete mode 100755 sys_device_noti/po_sys_device_noti/ru_RU.po delete mode 100755 sys_device_noti/po_sys_device_noti/sk.po delete mode 100755 sys_device_noti/po_sys_device_noti/sl.po delete mode 100755 sys_device_noti/po_sys_device_noti/sr.po delete mode 100755 sys_device_noti/po_sys_device_noti/sv.po delete mode 100755 sys_device_noti/po_sys_device_noti/tr_TR.po delete mode 100755 sys_device_noti/po_sys_device_noti/uk.po delete mode 100755 sys_device_noti/po_sys_device_noti/uz.po delete mode 100755 sys_device_noti/po_sys_device_noti/zh_CN.po delete mode 100755 sys_device_noti/po_sys_device_noti/zh_HK.po delete mode 100755 sys_device_noti/po_sys_device_noti/zh_SG.po delete mode 100755 sys_device_noti/po_sys_device_noti/zh_TW.po delete mode 100755 sys_device_noti/sys_device_noti.c delete mode 100755 sys_device_noti/sys_device_noti.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 21f7a99..f5b867d 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,5 +115,4 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/systemd/system-server.socket DESTINAT ADD_SUBDIRECTORY(restarter) ADD_SUBDIRECTORY(sys_event) -ADD_SUBDIRECTORY(sys_device_noti) ADD_SUBDIRECTORY(sys_pci_noti) diff --git a/packaging/system-server.spec b/packaging/system-server.spec index ea44a98..80809bb 100755 --- a/packaging/system-server.spec +++ b/packaging/system-server.spec @@ -152,16 +152,13 @@ systemctl daemon-reload %endif %{_bindir}/movi_format.sh %{_bindir}/sys_event -%{_bindir}/sys_device_noti %{_bindir}/sys_pci_noti %{_bindir}/mmc-smack-label %{_libdir}/systemd/system/multi-user.target.wants/system-server.service %{_libdir}/systemd/system/sockets.target.wants/system-server.socket %{_libdir}/systemd/system/system-server.service %{_libdir}/systemd/system/system-server.socket -%{_datadir}/system-server/sys_device_noti/batt_full_icon.png %{_datadir}/system-server/udev-rules/91-system-server.rules -%{_datadir}/system-server/sys_device_noti/res/locale/*/LC_MESSAGES/*.mo %{_datadir}/system-server/sys_pci_noti/res/locale/*/LC_MESSAGES/*.mo %files -n libdeviced diff --git a/ss_device_change_handler.c b/ss_device_change_handler.c index f9c77ea..08e1594 100755 --- a/ss_device_change_handler.c +++ b/ss_device_change_handler.c @@ -36,7 +36,6 @@ #include "device-node.h" #include "ss_noti.h" #include "include/ss_data.h" -#include "sys_device_noti/sys_device_noti.h" #include "sys_pci_noti/sys_pci_noti.h" #include "ss_predefine.h" #define BUFF_MAX 255 @@ -50,6 +49,18 @@ static E_DBus_Connection *conn; #endif /* ENABLE_EDBUS_USE */ +typedef enum { + CB_NOTI_BATT_CHARGE, + CB_NOTI_BATT_LOW, + CB_NOTI_BATT_FULL, + CB_NOTI_MAX +} cb_noti_type; + +typedef enum { + CB_NOTI_OFF = 0, + CB_NOTI_ON = 1 +} cb_noti_onoff_type; + struct input_event { long dummy[2]; unsigned short type; diff --git a/ss_lowbat_handler.c b/ss_lowbat_handler.c index b091de9..62d4499 100755 --- a/ss_lowbat_handler.c +++ b/ss_lowbat_handler.c @@ -166,6 +166,7 @@ static int lowbat_process(int bat_percent, void *ad) cur_bat_capacity = new_bat_capacity; } + if (vconf_get_int(VCONFKEY_SYSMAN_BATTERY_STATUS_LOW, &vconf_state) < 0) { PRT_TRACE_ERR("vconf_get_int() failed"); return -1; @@ -245,6 +246,10 @@ static int lowbat_process(int bat_percent, void *ad) } } } + + if (new_bat_capacity == cur_bat_capacity) + return 0; + PRT_TRACE("[BATMON] Unknown battery state cur:%d new:%d",cur_bat_state,new_bat_state); cur_bat_state = new_bat_state; return -1; diff --git a/sys_device_noti/CMakeLists.txt b/sys_device_noti/CMakeLists.txt deleted file mode 100755 index c56d50b..0000000 --- a/sys_device_noti/CMakeLists.txt +++ /dev/null @@ -1,31 +0,0 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.6) -PROJECT(sys_device_noti C) - -SET(SRCS sys_device_noti.c) -INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} /usr/include/svi /usr/include/notification) - -FOREACH(flag ${pkgs_CFLAGS}) - SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") -ENDFOREACH(flag) - -SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -g -fno-omit-frame-pointer -finstrument-functions") - -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}") -MESSAGE("FLAGS: ${CMAKE_C_FLAGS}") - -ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"") -ADD_DEFINITIONS("-DFACTORYFS=\"$ENV{FACTORYFS}\"") -IF( $ENV{ARCH} MATCHES "arm" ) - ADD_DEFINITIONS("-DTARGET") -ENDIF() -ADD_DEFINITIONS("-DSLP_DEBUG") -ADD_DEFINITIONS("-DSLP_PROF") - -ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS}) -TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} "-lsvi -lnotification") - -INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin) -INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/batt_full_icon.png DESTINATION share/system-server/sys_device_noti) - -#i18n -ADD_SUBDIRECTORY(po_sys_device_noti) diff --git a/sys_device_noti/data/batt_full_icon.png b/sys_device_noti/data/batt_full_icon.png deleted file mode 100755 index 4245ccc3137ed823eef3e10e9dc1d6f7b83214af..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3201 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 diff --git a/sys_device_noti/po_sys_device_noti/CMakeLists.txt b/sys_device_noti/po_sys_device_noti/CMakeLists.txt deleted file mode 100644 index a08d14a..0000000 --- a/sys_device_noti/po_sys_device_noti/CMakeLists.txt +++ /dev/null @@ -1,24 +0,0 @@ -# for i18n - -SET(POFILES ar.po el_GR.po es_ES.po fi.po gl.po hy.po ka.po lv.po pl.po ru_RU.po sv.po zh_CN.po az.po cs.po en_PH.po es_US.po fr_CA.po hi.po is.po kk.po mk.po pt_BR.po sk.po tr_TR.po zh_HK.po bg.po da.po en.po et.po fr_FR.po hr.po it_IT.po ko_KR.po nb.po pt_PT.po sl.po uk.po zh_SG.po ca.po de_DE.po en_US.po eu.po ga.po hu.po ja_JP.po lt.po nl_NL.po ro.po sr.po uz.po zh_TW.po) - -SET(MSGFMT "/usr/bin/msgfmt") - -FOREACH(pofile ${POFILES}) - SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile}) - MESSAGE("PO: ${pofile}") - GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE) - GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE) - SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo) - ADD_CUSTOM_COMMAND( - OUTPUT ${moFile} - COMMAND ${MSGFMT} -o ${moFile} ${absPofile} - DEPENDS ${absPofile} - ) - INSTALL(FILES ${moFile} - DESTINATION share/system-server/sys_device_noti/res/locale/${lang}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo) - SET(moFiles ${moFiles} ${moFile}) -ENDFOREACH(pofile) - -MESSAGE(".mo files: ${moFiles}") -ADD_CUSTOM_TARGET(po_sys_device_noti ALL DEPENDS ${moFiles}) diff --git a/sys_device_noti/po_sys_device_noti/ar.po b/sys_device_noti/po_sys_device_noti/ar.po deleted file mode 100755 index 1e20482..0000000 --- a/sys_device_noti/po_sys_device_noti/ar.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "تم شحن البطارية كاملا" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "فصل الشاحن" - diff --git a/sys_device_noti/po_sys_device_noti/az.po b/sys_device_noti/po_sys_device_noti/az.po deleted file mode 100755 index e749e15..0000000 --- a/sys_device_noti/po_sys_device_noti/az.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Batareya tam doludur" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Adapteri rozetkadan çıxarın" - diff --git a/sys_device_noti/po_sys_device_noti/bg.po b/sys_device_noti/po_sys_device_noti/bg.po deleted file mode 100755 index a6af4c4..0000000 --- a/sys_device_noti/po_sys_device_noti/bg.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Батерията напълно заредена" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Изключете зарядното устройство" - diff --git a/sys_device_noti/po_sys_device_noti/ca.po b/sys_device_noti/po_sys_device_noti/ca.po deleted file mode 100755 index 61d8398..0000000 --- a/sys_device_noti/po_sys_device_noti/ca.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Bateria completament carregada" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Desendollar carregador" - diff --git a/sys_device_noti/po_sys_device_noti/cs.po b/sys_device_noti/po_sys_device_noti/cs.po deleted file mode 100755 index e9f137c..0000000 --- a/sys_device_noti/po_sys_device_noti/cs.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Baterie je plně nabitá" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Odpojte nabíječku" - diff --git a/sys_device_noti/po_sys_device_noti/da.po b/sys_device_noti/po_sys_device_noti/da.po deleted file mode 100755 index b290706..0000000 --- a/sys_device_noti/po_sys_device_noti/da.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Batteri fuldt opladet" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Fjern oplader" - diff --git a/sys_device_noti/po_sys_device_noti/de_DE.po b/sys_device_noti/po_sys_device_noti/de_DE.po deleted file mode 100755 index ad85846..0000000 --- a/sys_device_noti/po_sys_device_noti/de_DE.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Akku vollständig geladen" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Ladegerät entfernen" - diff --git a/sys_device_noti/po_sys_device_noti/el_GR.po b/sys_device_noti/po_sys_device_noti/el_GR.po deleted file mode 100755 index 996e1da..0000000 --- a/sys_device_noti/po_sys_device_noti/el_GR.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Μπαταρία πλήρως φορτισμένη" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Αποσύνδεση φορτιστή" - diff --git a/sys_device_noti/po_sys_device_noti/en.po b/sys_device_noti/po_sys_device_noti/en.po deleted file mode 100755 index d1c5e7b..0000000 --- a/sys_device_noti/po_sys_device_noti/en.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Battery fully charged" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Unplug charger" - diff --git a/sys_device_noti/po_sys_device_noti/en_PH.po b/sys_device_noti/po_sys_device_noti/en_PH.po deleted file mode 100755 index d1c5e7b..0000000 --- a/sys_device_noti/po_sys_device_noti/en_PH.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Battery fully charged" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Unplug charger" - diff --git a/sys_device_noti/po_sys_device_noti/en_US.po b/sys_device_noti/po_sys_device_noti/en_US.po deleted file mode 100755 index d1c5e7b..0000000 --- a/sys_device_noti/po_sys_device_noti/en_US.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Battery fully charged" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Unplug charger" - diff --git a/sys_device_noti/po_sys_device_noti/es_ES.po b/sys_device_noti/po_sys_device_noti/es_ES.po deleted file mode 100755 index fe563d5..0000000 --- a/sys_device_noti/po_sys_device_noti/es_ES.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Batería totalmente cargada" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Desconectar cargador" - diff --git a/sys_device_noti/po_sys_device_noti/es_US.po b/sys_device_noti/po_sys_device_noti/es_US.po deleted file mode 100755 index b99a618..0000000 --- a/sys_device_noti/po_sys_device_noti/es_US.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Batería completamente cargada" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Desconectar el cargador" - diff --git a/sys_device_noti/po_sys_device_noti/et.po b/sys_device_noti/po_sys_device_noti/et.po deleted file mode 100755 index 33a53bc..0000000 --- a/sys_device_noti/po_sys_device_noti/et.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Aku on laetud" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Eraldage laadija" - diff --git a/sys_device_noti/po_sys_device_noti/eu.po b/sys_device_noti/po_sys_device_noti/eu.po deleted file mode 100755 index 17a2621..0000000 --- a/sys_device_noti/po_sys_device_noti/eu.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Bateria guztiz kargatuta" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Desentxufatu kargadorea" - diff --git a/sys_device_noti/po_sys_device_noti/fi.po b/sys_device_noti/po_sys_device_noti/fi.po deleted file mode 100755 index 247d9e7..0000000 --- a/sys_device_noti/po_sys_device_noti/fi.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Akku on täysin ladattu" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Irrota laturi" - diff --git a/sys_device_noti/po_sys_device_noti/fr_CA.po b/sys_device_noti/po_sys_device_noti/fr_CA.po deleted file mode 100755 index 9004f3e..0000000 --- a/sys_device_noti/po_sys_device_noti/fr_CA.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "La pile est chargée" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Débrancher le chargeur" - diff --git a/sys_device_noti/po_sys_device_noti/fr_FR.po b/sys_device_noti/po_sys_device_noti/fr_FR.po deleted file mode 100755 index 8f166dd..0000000 --- a/sys_device_noti/po_sys_device_noti/fr_FR.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Batterie chargée" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Débrancher le chargeur" - diff --git a/sys_device_noti/po_sys_device_noti/ga.po b/sys_device_noti/po_sys_device_noti/ga.po deleted file mode 100755 index a984b80..0000000 --- a/sys_device_noti/po_sys_device_noti/ga.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Ceallra lánluchtaithe" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Díphlugáil an luchtaire" - diff --git a/sys_device_noti/po_sys_device_noti/gl.po b/sys_device_noti/po_sys_device_noti/gl.po deleted file mode 100755 index cd9e232..0000000 --- a/sys_device_noti/po_sys_device_noti/gl.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Batería totalmente cargada" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Desenchufar cargador" - diff --git a/sys_device_noti/po_sys_device_noti/hi.po b/sys_device_noti/po_sys_device_noti/hi.po deleted file mode 100755 index fcde0c3..0000000 --- a/sys_device_noti/po_sys_device_noti/hi.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "बैटरी पूरी चार्ज है।" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "चार्जर निकालें" - diff --git a/sys_device_noti/po_sys_device_noti/hr.po b/sys_device_noti/po_sys_device_noti/hr.po deleted file mode 100755 index 96d0bb3..0000000 --- a/sys_device_noti/po_sys_device_noti/hr.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Baterija puna" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Iskopčajte punjač" - diff --git a/sys_device_noti/po_sys_device_noti/hu.po b/sys_device_noti/po_sys_device_noti/hu.po deleted file mode 100755 index a4e8646..0000000 --- a/sys_device_noti/po_sys_device_noti/hu.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Az akkumulátor feltöltve" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Húzza ki a töltőt" - diff --git a/sys_device_noti/po_sys_device_noti/hy.po b/sys_device_noti/po_sys_device_noti/hy.po deleted file mode 100755 index 9a30dde..0000000 --- a/sys_device_noti/po_sys_device_noti/hy.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Մարտկոցը ամբողջովին լիցքավորված է" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Վարդակից անջատել լիցքավորիչը" - diff --git a/sys_device_noti/po_sys_device_noti/is.po b/sys_device_noti/po_sys_device_noti/is.po deleted file mode 100755 index 0d29520..0000000 --- a/sys_device_noti/po_sys_device_noti/is.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Rafhlaða fullhlaðin" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Aftengja hleðslutæki" - diff --git a/sys_device_noti/po_sys_device_noti/it_IT.po b/sys_device_noti/po_sys_device_noti/it_IT.po deleted file mode 100755 index 3094490..0000000 --- a/sys_device_noti/po_sys_device_noti/it_IT.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Batteria ricaricata" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Scollega caricabatterie" - diff --git a/sys_device_noti/po_sys_device_noti/ja_JP.po b/sys_device_noti/po_sys_device_noti/ja_JP.po deleted file mode 100755 index 8c6a6ee..0000000 --- a/sys_device_noti/po_sys_device_noti/ja_JP.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "バッテリ​充電​完了" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "充電​器​を​取り​外し​て​ください。" - diff --git a/sys_device_noti/po_sys_device_noti/ka.po b/sys_device_noti/po_sys_device_noti/ka.po deleted file mode 100755 index 9bbd215..0000000 --- a/sys_device_noti/po_sys_device_noti/ka.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "კვების ელემენტი დაიტენა" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "გამორთეთ დამტენი" - diff --git a/sys_device_noti/po_sys_device_noti/kk.po b/sys_device_noti/po_sys_device_noti/kk.po deleted file mode 100755 index bd53198..0000000 --- a/sys_device_noti/po_sys_device_noti/kk.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Батарея толық зарядталған" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Зарядтағышты ажырату" - diff --git a/sys_device_noti/po_sys_device_noti/ko_KR.po b/sys_device_noti/po_sys_device_noti/ko_KR.po deleted file mode 100755 index 571b80a..0000000 --- a/sys_device_noti/po_sys_device_noti/ko_KR.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "배터리가 충전되었습니다" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "충전기 분리" - diff --git a/sys_device_noti/po_sys_device_noti/lt.po b/sys_device_noti/po_sys_device_noti/lt.po deleted file mode 100755 index d1658d1..0000000 --- a/sys_device_noti/po_sys_device_noti/lt.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Baterija visiškai įkrauta" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Atjunkite kroviklį" - diff --git a/sys_device_noti/po_sys_device_noti/lv.po b/sys_device_noti/po_sys_device_noti/lv.po deleted file mode 100755 index 432e6dd..0000000 --- a/sys_device_noti/po_sys_device_noti/lv.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Akumulators uzlādēts" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Atvienojiet lādētāju" - diff --git a/sys_device_noti/po_sys_device_noti/mk.po b/sys_device_noti/po_sys_device_noti/mk.po deleted file mode 100755 index 5df479c..0000000 --- a/sys_device_noti/po_sys_device_noti/mk.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Батеријата е наполнета" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Откачете го полначот" - diff --git a/sys_device_noti/po_sys_device_noti/nb.po b/sys_device_noti/po_sys_device_noti/nb.po deleted file mode 100755 index dec39c0..0000000 --- a/sys_device_noti/po_sys_device_noti/nb.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Batteri fulladet" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Ta ut laderen" - diff --git a/sys_device_noti/po_sys_device_noti/nl_NL.po b/sys_device_noti/po_sys_device_noti/nl_NL.po deleted file mode 100755 index 4fe8d28..0000000 --- a/sys_device_noti/po_sys_device_noti/nl_NL.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "De batterij is opgeladen" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Oplader loskoppelen" - diff --git a/sys_device_noti/po_sys_device_noti/pl.po b/sys_device_noti/po_sys_device_noti/pl.po deleted file mode 100755 index 08e174a..0000000 --- a/sys_device_noti/po_sys_device_noti/pl.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Bateria w pełni naładowana" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Odłącz ładowarkę" - diff --git a/sys_device_noti/po_sys_device_noti/pt_BR.po b/sys_device_noti/po_sys_device_noti/pt_BR.po deleted file mode 100755 index 2f0d9bc..0000000 --- a/sys_device_noti/po_sys_device_noti/pt_BR.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Bateria completamente carregada" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Desconectar carregador" - diff --git a/sys_device_noti/po_sys_device_noti/pt_PT.po b/sys_device_noti/po_sys_device_noti/pt_PT.po deleted file mode 100755 index 119ec91..0000000 --- a/sys_device_noti/po_sys_device_noti/pt_PT.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Bateria completamente carregada" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Desligue o carregador" - diff --git a/sys_device_noti/po_sys_device_noti/ro.po b/sys_device_noti/po_sys_device_noti/ro.po deleted file mode 100755 index 3f6a7b9..0000000 --- a/sys_device_noti/po_sys_device_noti/ro.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Baterie încărcată complet" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Deconectaţi încărcătorul" - diff --git a/sys_device_noti/po_sys_device_noti/ru_RU.po b/sys_device_noti/po_sys_device_noti/ru_RU.po deleted file mode 100755 index b26c1ee..0000000 --- a/sys_device_noti/po_sys_device_noti/ru_RU.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Аккумулятор заряжен" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Отключите зарядное устройство" - diff --git a/sys_device_noti/po_sys_device_noti/sk.po b/sys_device_noti/po_sys_device_noti/sk.po deleted file mode 100755 index 489fdc7..0000000 --- a/sys_device_noti/po_sys_device_noti/sk.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Batéria je plne nabitá" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Odpojte nabíjačku" - diff --git a/sys_device_noti/po_sys_device_noti/sl.po b/sys_device_noti/po_sys_device_noti/sl.po deleted file mode 100755 index a8fa525..0000000 --- a/sys_device_noti/po_sys_device_noti/sl.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Baterija je polna" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Izklopite napajalnik" - diff --git a/sys_device_noti/po_sys_device_noti/sr.po b/sys_device_noti/po_sys_device_noti/sr.po deleted file mode 100755 index 59c217b..0000000 --- a/sys_device_noti/po_sys_device_noti/sr.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Baterija skroz napunjena" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Otkači punjač" - diff --git a/sys_device_noti/po_sys_device_noti/sv.po b/sys_device_noti/po_sys_device_noti/sv.po deleted file mode 100755 index d4ecc45..0000000 --- a/sys_device_noti/po_sys_device_noti/sv.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Batteriet fulladdat" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Ta ut laddaren" - diff --git a/sys_device_noti/po_sys_device_noti/tr_TR.po b/sys_device_noti/po_sys_device_noti/tr_TR.po deleted file mode 100755 index d1fe727..0000000 --- a/sys_device_noti/po_sys_device_noti/tr_TR.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Pil tümüyle şarj oldu" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Şarjı fişten çekin" - diff --git a/sys_device_noti/po_sys_device_noti/uk.po b/sys_device_noti/po_sys_device_noti/uk.po deleted file mode 100755 index 1548d19..0000000 --- a/sys_device_noti/po_sys_device_noti/uk.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Батарею заряджено повністю" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Відключіть зарядний пристрій" - diff --git a/sys_device_noti/po_sys_device_noti/uz.po b/sys_device_noti/po_sys_device_noti/uz.po deleted file mode 100755 index 084b6d3..0000000 --- a/sys_device_noti/po_sys_device_noti/uz.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "Batareya to‘la zaryadlandi" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "Zaryadlash qurilmasini chiqaring" - diff --git a/sys_device_noti/po_sys_device_noti/zh_CN.po b/sys_device_noti/po_sys_device_noti/zh_CN.po deleted file mode 100755 index 4a7a468..0000000 --- a/sys_device_noti/po_sys_device_noti/zh_CN.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "电池已满" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "拔下充电器" - diff --git a/sys_device_noti/po_sys_device_noti/zh_HK.po b/sys_device_noti/po_sys_device_noti/zh_HK.po deleted file mode 100755 index 8ec1bbd..0000000 --- a/sys_device_noti/po_sys_device_noti/zh_HK.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "電池已完全充電" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "拔除充電器" - diff --git a/sys_device_noti/po_sys_device_noti/zh_SG.po b/sys_device_noti/po_sys_device_noti/zh_SG.po deleted file mode 100755 index d5a0fdc..0000000 --- a/sys_device_noti/po_sys_device_noti/zh_SG.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "充电完毕" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "拔下充电器" - diff --git a/sys_device_noti/po_sys_device_noti/zh_TW.po b/sys_device_noti/po_sys_device_noti/zh_TW.po deleted file mode 100755 index 49325b9..0000000 --- a/sys_device_noti/po_sys_device_noti/zh_TW.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED" -msgstr "電池已完全充電" - -msgid "IDS_QP_BODY_UNPLUG_CHARGER" -msgstr "斷開充電器" - diff --git a/sys_device_noti/sys_device_noti.c b/sys_device_noti/sys_device_noti.c deleted file mode 100755 index 2d5bf97..0000000 --- a/sys_device_noti/sys_device_noti.c +++ /dev/null @@ -1,204 +0,0 @@ -/* - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -#include -#include -#include -#include -#include -#include -#include -#include -#include "ss_log.h" -#include "sys_device_noti.h" - -#define BATTERY_FULL_ICON_PATH "/usr/share/system-server/sys_device_noti/batt_full_icon.png" -#define DEV_NOTI_LOCALE_DIR "/usr/share/system-server/sys_device_noti/res/locale" -#define DEV_NOTI_PACKAGE_NAME "sys_device_noti" - -static int battery_full_noti(int bNoti) -{ - char *lang; - char *r; - int charge_full = bNoti; - - notification_h noti = NULL; - notification_error_e noti_err = NOTIFICATION_ERROR_NONE; - - if (charge_full == 1) { - lang = vconf_get_str(VCONFKEY_LANGSET); - if (lang) { - setenv("LANG", lang, 1); - setenv("LC_MESSAGES", lang, 1); - r = setlocale(LC_ALL, ""); - if (r == NULL) { - setlocale(LC_ALL, lang); - } - free(lang); - } - bindtextdomain(DEV_NOTI_PACKAGE_NAME,DEV_NOTI_LOCALE_DIR); - textdomain(DEV_NOTI_PACKAGE_NAME); - noti_err = notification_delete_all_by_type(NULL, NOTIFICATION_TYPE_NOTI); - PRT_TRACE("[BAT_FULL_NOTI] add notification for battery full\n"); - - noti = notification_new (NOTIFICATION_TYPE_NOTI, - NOTIFICATION_GROUP_ID_NONE, - NOTIFICATION_PRIV_ID_NONE); - if (noti == NULL) { - PRT_TRACE("[BAT_FULL_NOTI] Errot noti == NULL\n"); - return -1; - } - - noti_err = notification_set_text_domain(noti, DEV_NOTI_PACKAGE_NAME, DEV_NOTI_LOCALE_DIR); - if (noti_err != NOTIFICATION_ERROR_NONE) { - PRT_TRACE("[BAT_FULL_NOTI] set text domain\n"); - goto NOTI_MEM_FREE; - } - - noti_err = notification_set_text (noti, - NOTIFICATION_TEXT_TYPE_TITLE, - _("IDS_IDLE_POP_BATTERY_FULLY_CAHRGED"), - "IDS_IDLE_POP_BATTERY_FULLY_CAHRGED", - NOTIFICATION_VARIABLE_TYPE_NONE); - - if (noti_err != NOTIFICATION_ERROR_NONE) { - PRT_TRACE("[BAT_FULL_NOTI] Error notification_set_title : %d\n", noti_err); - goto NOTI_MEM_FREE; - } - - noti_err = notification_set_text (noti, - NOTIFICATION_TEXT_TYPE_CONTENT, - _("IDS_QP_BODY_UNPLUG_CHARGER"), - "IDS_QP_BODY_UNPLUG_CHARGER", - NOTIFICATION_VARIABLE_TYPE_NONE); - - if (noti_err != NOTIFICATION_ERROR_NONE) { - PRT_TRACE("[BAT_FULL_NOTI] Error notification_set_content : %d\n", noti_err); - goto NOTI_MEM_FREE; - } - - noti_err = notification_set_text (noti, - NOTIFICATION_TEXT_TYPE_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, - _("IDS_QP_BODY_UNPLUG_CHARGER"), - "IDS_QP_BODY_UNPLUG_CHARGER", - NOTIFICATION_VARIABLE_TYPE_NONE); - - if (noti_err != NOTIFICATION_ERROR_NONE) { - PRT_TRACE("[BAT_FULL_NOTI] Error notification_set_content : %d\n", noti_err); - goto NOTI_MEM_FREE; - } - - noti_err = notification_set_time(noti, time(NULL)); - if (noti_err != NOTIFICATION_ERROR_NONE) { - PRT_TRACE("[BAT_FULL_NOTI] Error notification_set_time : %d\n", noti_err); - goto NOTI_MEM_FREE; - } - - noti_err = notification_set_image(noti, NOTIFICATION_IMAGE_TYPE_ICON, BATTERY_FULL_ICON_PATH); - if (noti_err != NOTIFICATION_ERROR_NONE) { - PRT_TRACE("[BAT_FULL_NOTI] Error notification_set_image : %d\n", noti_err); - goto NOTI_MEM_FREE; - } - - noti_err = notification_set_property (noti, - NOTIFICATION_PROP_DISABLE_APP_LAUNCH - | NOTIFICATION_PROP_DISABLE_TICKERNOTI - | NOTIFICATION_PROP_VOLATILE_DISPLAY); - - if (noti_err != NOTIFICATION_ERROR_NONE) { - PRT_TRACE("[BAT_FULL_NOTI] Error notification_set_property : %d\n", noti_err); - goto NOTI_MEM_FREE; - } - - noti_err = notification_set_display_applist(noti, NOTIFICATION_DISPLAY_APP_NOTIFICATION_TRAY); - if (noti_err != NOTIFICATION_ERROR_NONE) { - PRT_TRACE("[BAT_FULL_NOTI] Error notification_set_display_applist : %d\n", noti_err); - goto NOTI_MEM_FREE; - } - - noti_err = notification_insert(noti, NULL); - if (noti_err != NOTIFICATION_ERROR_NONE) { - PRT_TRACE("[BAT_FULL_NOTI] Error notification_insert : %d\n", noti_err); - goto NOTI_MEM_FREE; - } - - noti_err = notification_free(noti); - if (noti_err != NOTIFICATION_ERROR_NONE) { - PRT_TRACE("[BAT_FULL_NOTI] Error notification_free : %d\n", noti_err); - return -1; - } - pm_change_state(LCD_NORMAL); - } else { - noti_err = notification_delete_all_by_type(NULL, NOTIFICATION_TYPE_NOTI); - PRT_TRACE("[BAT_FULL_NOTI] Leave battery full status\n"); - } - - return 0; - -NOTI_MEM_FREE: - noti_err = notification_free(noti); - if (noti_err != NOTIFICATION_ERROR_NONE) - PRT_TRACE("[BAT_FULL_NOTI] Error notification_free : %d\n", noti_err); - return -1; -} -int main(int argc, char *argv[]) -{ - int r; - int handle = 0; - int bNoti = -1; - sound_type snd = -1; - vibration_type vib = -1; - cb_noti_type cb_type = -1; - - if (argc == 3) - bNoti = atoi(argv[2]); - - cb_type = (cb_noti_type)atoi(argv[1]); - switch (cb_type) { - case CB_NOTI_BATT_CHARGE: - vib = SVI_VIB_OPERATION_CHARGERCONN; - snd = SVI_SND_OPERATION_CHARGERCONN; - break; - case CB_NOTI_BATT_FULL: - battery_full_noti(bNoti); - if (bNoti == 1) { - vib = SVI_VIB_OPERATION_FULLCHARGED; - snd = SVI_SND_OPERATION_FULLCHARGED; - break; - } else - return 0; - default: - PRT_TRACE("sys_device_noti cb_type error(%d)",cb_type); - break; - } - - r = svi_init(&handle); /* Initialize SVI */ - - if (r != SVI_SUCCESS) { - PRT_TRACE("Cannot initialize SVI.\n"); - } else { - r = svi_play(handle, vib, snd); - if (r != SVI_SUCCESS) - PRT_TRACE("Cannot play sound or vibration.\n"); - - r = svi_fini(handle); /* Finalize SVI */ - if (r != SVI_SUCCESS) - PRT_TRACE("Cannot close SVI.\n"); - } - - return 0; -} diff --git a/sys_device_noti/sys_device_noti.h b/sys_device_noti/sys_device_noti.h deleted file mode 100755 index 213335a..0000000 --- a/sys_device_noti/sys_device_noti.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) 2012 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -#ifndef __SYS_DEVICE_NOTI_H__ -#define __SYS_DEVICE_NOTI_H__ - -#ifndef _ -#define _(str) gettext(str) -#endif - -#ifndef gettext_noop -#define gettext_noop(str) (str) -#endif - -#ifndef N_ -#define N_(str) gettext_noop(str) -#endif - -typedef enum { - CB_NOTI_BATT_CHARGE, - CB_NOTI_BATT_LOW, - CB_NOTI_BATT_FULL, - CB_NOTI_MAX -} cb_noti_type; - -typedef enum { - CB_NOTI_OFF = 0, - CB_NOTI_ON = 1 -} cb_noti_onoff_type; - -#endif /* __SYS_DEVICE__NOTI_H__ */ -- 2.7.4