merge with master
authorJinkun Jang <jinkun.jang@samsung.com>
Fri, 15 Mar 2013 16:12:49 +0000 (01:12 +0900)
committerJinkun Jang <jinkun.jang@samsung.com>
Fri, 15 Mar 2013 16:12:49 +0000 (01:12 +0900)
13 files changed:
CMakeLists.txt
include/vconf-internal-ail-keys.h [new file with mode: 0644]
include/vconf-internal-appservice-keys.h [new file with mode: 0755]
include/vconf-internal-isf-keys.h [new file with mode: 0644]
include/vconf-internal-keys.h
include/vconf-internal-menuscreen-keys.h
include/vconf-internal-pm-keys.h
include/vconf-internal-setting-keys.h
include/vconf-internal-sysman-keys.h
include/vconf-internal-telephony-keys.h
include/vconf-internal-usb-keys.h
include/vconf-internal-wifi-keys.h
packaging/vconf-internal-keys.spec

index e2329dd..e407c94 100755 (executable)
@@ -15,9 +15,10 @@ ADD_DEFINITIONS("-DDATAFS=\"$ENV{DATADIR}\"")
 CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)
 SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${PROJECT_NAME}.pc")
 
-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION lib/pkgconfig)
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/vconf-internal-keys.h DESTINATION ${INCLUDEDIR})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/vconf-internal-account-keys.h DESTINATION ${INCLUDEDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/vconf-internal-ail-keys.h DESTINATION ${INCLUDEDIR})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/vconf-internal-admin-keys.h DESTINATION ${INCLUDEDIR})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/vconf-internal-alarm-keys.h DESTINATION ${INCLUDEDIR})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/vconf-internal-allshare-keys.h DESTINATION ${INCLUDEDIR})
@@ -70,3 +71,5 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/vconf-internal-calendar-keys.h DESTINA
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/vconf-internal-face-svc-keys.h DESTINATION ${INCLUDEDIR})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/vconf-internal-rcs-keys.h DESTINATION ${INCLUDEDIR})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/vconf-internal-camera-keys.h DESTINATION ${INCLUDEDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/vconf-internal-appservice-keys.h DESTINATION ${INCLUDEDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/vconf-internal-isf-keys.h DESTINATION ${INCLUDEDIR})
diff --git a/include/vconf-internal-ail-keys.h b/include/vconf-internal-ail-keys.h
new file mode 100644 (file)
index 0000000..573fedb
--- /dev/null
@@ -0,0 +1,55 @@
+/*
+ * vconf-internal-keys
+ *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact: Hakjoo Ko <hakjoo.ko@samsung.com>
+ *
+ * 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 __VCONF_INTERNAL_AIL_KEYS_H__
+#define __VCONF_INTERNAL_AIL_KEYS_H__
+
+/**
+ * This file defines keys and values.
+ *
+ * @file        vconf-internal-ail-keys.h
+ * @defgroup    vconf_internal_ail_key Definitions of internal shared Keys for ail
+ * @ingroup     vconf_internal_key
+ * @author      junsuk77.oh@samsung.com
+ * @version     0.1
+ * @brief       This file has the definitions of shared keys for ail \n
+ */
+
+/* ========================== AIL Keys & Values ============================ */
+/**
+ * @addtogroup vconf_internal_ail_key
+ * @{
+ * @brief Alarm Keys & Values\n
+ *        Maintainer : changyu.lu@samsung.com
+ */
+
+/**
+ * @brief it stands for number of enabled alarm by int value.
+ *
+ */
+#define VCONFKEY_AIL_INFO_STATE        "db/ail/ail_info"
+
+/**
+ * @}
+ */
+
+#endif /* __VCONF_INTERNAL_AIL_KEYS_H__ */
+
diff --git a/include/vconf-internal-appservice-keys.h b/include/vconf-internal-appservice-keys.h
new file mode 100755 (executable)
index 0000000..6bfba6c
--- /dev/null
@@ -0,0 +1,57 @@
+/*
+ * vconf-internal-appservice-keys
+ *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact: Hyunbin Lee <hyunbin.lee@samsung.com>
+ *
+ * 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 __VCONF_INTERNAL_APPSERVICE_KEYS_H__
+#define __VCONF_INTERNAL_APPSERVICE_KEYS_H__
+
+/**
+ * This file defines keys and values.
+ *
+ * @file               vconf-internal-appservice-keys.h
+ * @defgroup   vconf_internal_appservice_key Definitions of internal shared Keys for appservice
+ * @ingroup            vconf_internal_key
+ * @author             hyunbin.lee@samsung.com
+ * @version            0.1
+ * @brief              This file has the definitions of shared keys for appservice \n
+ */
+
+/* ========================== AppService Keys & Values ============================ */
+/**
+ * @addtogroup vconf_internal_appservice_key
+ * @{
+ * @brief AppService Keys & Values\n
+ *             Maintainer : hyunbin.lee@samsung.com
+ */
+
+/*
+* @brief osp appservice status(int)
+*
+* 0 : not running (N/A also)
+* 1 : running, but not ready
+* 2 : running and ready
+*/
+#define VCONFKEY_APPSERVICE_STATUS "memory/appservice/status"
+
+/**
+ * @}
+ */
+
+#endif /* __VCONF_INTERNAL_APPSERVICE_KEYS_H__ */
+
diff --git a/include/vconf-internal-isf-keys.h b/include/vconf-internal-isf-keys.h
new file mode 100644 (file)
index 0000000..54c7eb8
--- /dev/null
@@ -0,0 +1,52 @@
+
+/*
+ * vconf-internal-keys
+ * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact: Jihoon Kim <jihoon48.kim@samsung.com>
+ *
+ * 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 __VCONF_INTERNAL_ISF_KEYS_H__
+#define __VCONF_INTERNAL_ISF_KEYS_H__
+
+/**
+ * This file defines keys and values.
+ *
+ * @file        vconf-internal-isf-keys.h
+ * @defgroup    vconf_internal_isf_key Definitions of internal shared Keys for ISF
+ * @ingroup     vconf_internal_key
+ * @author      Jihoon Kim <jihoon48.kim@samsung.com>
+ * @version     0.1
+ * @brief       This file has the definitions of shared keys for ISF \n
+ */
+
+/* ========================== ISF Keys & Values ============================ */
+/**
+ * @addtogroup vconf_internal_ISF_key
+ * @{
+ * @brief ISF Keys & Values\n
+ *        Maintainer : Jihoon Kim <jihoon48.kim@samsung.com>
+ */
+
+/**
+ * @brief input language string
+ */
+#define VCONFKEY_ISF_INPUT_LANGUAGE    "db/isf/input_language"
+
+/**
+ * @}
+ */
+#endif /* __VCONF_INTERNAL_ISF_KEYS_H__ */
index da20ae9..31e3275 100755 (executable)
@@ -38,6 +38,7 @@
 #include "vconf-internal-account-keys.h"
 #include "vconf-internal-admin-keys.h"
 #include "vconf-internal-alarm-keys.h"
+#include "vconf-internal-ail-keys.h"
 #include "vconf-internal-allshare-keys.h"
 #include "vconf-internal-boot-animation-keys.h"
 #include "vconf-internal-browser-keys.h"
@@ -87,6 +88,7 @@
 #include "vconf-internal-calendar-keys.h"
 #include "vconf-internal-face-svc-keys.h"
 #include "vconf-internal-camera-keys.h"
+#include "vconf-internal-isf-keys.h"
 
 #endif         /* __VCONF_INTERNAL_KEYS_H__ */
 
index ccd0916..292adba 100755 (executable)
@@ -48,7 +48,7 @@
  * format : "state:package_name"
  *          State means create | update | delete.
  */
-#define VCONFKEY_MENUSCREEN_DESKTOP "memory/menuscreen/desktop"
+#define VCONFKEY_MENUSCREEN_DESKTOP "db/menuscreen/desktop"
 
 
 /**
index 5177477..16cf3b6 100755 (executable)
@@ -84,12 +84,20 @@ enum {
 #define VCONFKEY_PM_BATTERY_TIMETOFULL                "memory/pm/battery_timetofull"
 
 /**
- * @brief brightness changed in low battery
- *
- * 0 : false
- * 1 : true
- */
-#define VCONFKEY_PM_BRIGHTNESS_CHANGED_IN_LPM        "memory/pm/brt_changed_lpm"
+* @brief brightness changed in low battery
+*
+* 0 : false
+* 1 : true
+*/
+#define VCONFKEY_PM_BRIGHTNESS_CHANGED_IN_LPM         "memory/pm/brt_changed_lpm"
+
+/**
+* @brief brightness value
+*
+* brightness level : 1~100
+*
+*/
+#define VCONFKEY_PM_CURRENT_BRIGHTNESS                "memory/pm/current_brt"
 
 /**
  * @}
index eaf486c..e9be51f 100755 (executable)
@@ -43,6 +43,7 @@
 #define VCONFKEY_SETAPPL_PREFIX                                 "db/setting"
 #define VCONFKEY_SETAPPL_MEM_PREFIX                             "memory/setting"
 
+
 /** @brief vibration pattern file path of current incoming call */
 #define VCONFKEY_SETAPPL_CALL_VIBRATION_PATTERN_STR            VCONFKEY_SETAPPL_PREFIX"/sound/call/vibration_pattern_path"
 
index 498354a..529ec6d 100755 (executable)
@@ -106,6 +106,30 @@ enum {
 #define VCONFKEY_SYSMAN_BATTERY_CAPACITY            "memory/sysman/battery_capacity"
 
 /**
+ * @brief current battery status
+ *
+ * 0 : empty(0%~1%) \n
+ * 1 : critical(2%~5%) \n
+ * 2 : low(6%~15%) \n
+ * 3 : high(16%~95%) \n
+ * 4 : full(96%~100%) \n
+ */
+#define VCONFKEY_SYSMAN_BATTERY_LEVEL_STATUS          "memory/sysman/battery_level_status"
+enum {
+       /** empty(0%~1%) */
+       VCONFKEY_SYSMAN_BAT_LEVEL_EMPTY = 0,
+       /** critical(2%~5%) */
+       VCONFKEY_SYSMAN_BAT_LEVEL_CRITICAL,
+       /** low(6%~15%)*/
+       VCONFKEY_SYSMAN_BAT_LEVEL_LOW,
+       /** high(16%~95%) */
+       VCONFKEY_SYSMAN_BAT_LEVEL_HIGH,
+       /** full(96%~100%) */
+       VCONFKEY_SYSMAN_BAT_LEVEL_FULL
+};
+
+
+/**
  * @brief USB connection status
  *
  * 0 : Disconnected \n
@@ -196,6 +220,56 @@ enum {
        VCONFKEY_SYSMAN_MMC_FORMAT_FAILED
 };
 
+/**
+ * @brief mmc error state
+ *
+ * 1 : operation not permmitted \n
+ * 2 : no such file or directory \n
+ * 6 : no such device or address \n
+ * 11 : try again \n
+ * 12 : out of memory \n
+ * 13 : A component of a path was not searchable \n
+ * 14 : bad address \n
+ * 15 : block device is requested \n
+ * 16 : device or resource busy \n
+ * 19 : filesystemtype not configured in the kernel \n
+ * 20 : target, or a prefix of source, is not a directory \n
+ * 22 : point does not exist \n
+ * 24 : table of dummy devices is full \n
+ * 36 : requested name is too long \n
+ * 40 : Too many links encountered during pathname resolution. \n
+           Or, a move was attempted, while target is a descendant of source \n
+ */
+#define VCONFKEY_SYSMAN_MMC_ERR_STATUS                                 "memory/sysman/mmc_err_status"
+enum {
+       VCONFKEY_SYSMAN_MMC_EPERM = 1,
+       VCONFKEY_SYSMAN_MMC_ENOENT = 2,
+       VCONFKEY_SYSMAN_MMC_ENXIO = 6,
+       VCONFKEY_SYSMAN_MMC_EAGAIN = 11,
+       VCONFKEY_SYSMAN_MMC_ENOMEM = 12,
+       VCONFKEY_SYSMAN_MMC_EACCESS = 13,
+       VCONFKEY_SYSMAN_MMC_EFAULT = 14,
+       VCONFKEY_SYSMAN_MMC_ENOTBLK = 15,
+       VCONFKEY_SYSMAN_MMC_EBUSY = 16,
+       VCONFKEY_SYSMAN_MMC_ENODEV = 19,
+       VCONFKEY_SYSMAN_MMC_ENOTDIR = 20,
+       VCONFKEY_SYSMAN_MMC_EINVAL = 22,
+       VCONFKEY_SYSMAN_MMC_EMFILE = 24,
+       VCONFKEY_SYSMAN_MMC_ENAMETOOLONG = 36,
+       VCONFKEY_SYSMAN_MMC_ELOOP = 40
+};
+
+/**
+ * @brief mmc device changed status
+ *
+ * 0 : not changed \n
+ * 1 : changed \n
+ */
+#define VCONFKEY_SYSMAN_MMC_DEVICE_CHANGED                                     "db/sysman/mmc_dev_changed"
+enum {
+       VCONFKEY_SYSMAN_MMC_NOT_CHANGED = 0,
+       VCONFKEY_SYSMAN_MMC_CHANGED
+};
 
 /**
  * @brief hdmi status
@@ -209,6 +283,45 @@ enum {
        VCONFKEY_SYSMAN_HDMI_CONNECTED
 };
 
+
+/**
+ * @brief system time changed status
+ *
+ * 0 : not changed \n
+ * 1 : changed \n
+ */
+#define VCONFKEY_SYSMAN_STIME                          "memory/sysman/stime_changed"
+enum {
+       VCONFKEY_SYSMAN_STIME_NOT_CHANGED = 0,
+       VCONFKEY_SYSMAN_STIME_CHANGED
+};
+
+/**
+ * @brief system power off status
+ *
+ * 0 : none \n
+ * 1 : poweroff popup \n
+ * 2 : direct power off \n
+ */
+#define VCONFKEY_SYSMAN_POWER_OFF_STATUS                       "memory/sysman/power_off"
+enum {
+       VCONFKEY_SYSMAN_POWER_OFF_NONE = 0,
+       VCONFKEY_SYSMAN_POWER_OFF_POPUP = 1,
+       VCONFKEY_SYSMAN_POWER_OFF_DIRECT = 2,
+       VCONFKEY_SYSMAN_POWER_OFF_RESTART = 3
+};
+/**
+ * @brief mmc format progress check status
+ *
+ * 0 : none \n
+ * 1 : mmc format is prgressing \n
+ */
+#define VCONFKEY_SYSMAN_MMC_FORMAT_PROGRESS                    "memory/sysman/mmc_format_progress"
+enum {
+       VCONFKEY_SYSMAN_MMC_FORMAT_PROGRESS_NONE = 0,
+       VCONFKEY_SYSMAN_MMC_FORMAT_PROGRESS_NOW
+};
+
 /**
  * @}
  */
index 3e46939..030a9d1 100755 (executable)
@@ -551,6 +551,20 @@ enum {
 };
 
 /**
+* @brief MMS sent status
+*
+* 0 Success \n
+* 1 Failure \n
+* 2 Network Unavailable \n
+*/
+#define VCONFKEY_TELEPHONY_MMS_SENT_STATUS  VCONFKEY_TELEPHONY_PREFIX"/mms_sent_status"
+enum {
+       VCONFKEY_TELEPHONY_MMS_SEND_SUCCESS = 0x00,
+       VCONFKEY_TELEPHONY_MMS_SEND_FAIL = 0x01,
+       VCONFKEY_TELEPHONY_MMS_SEND_NETWORK_UNAVAILABLE = 0x02
+};
+
+/**
  * @}
  */
 
index 627aad1..2d6a9ac 100755 (executable)
@@ -86,6 +86,55 @@ enum {
        VCONFKEY_USB_ACCESSORY_STATUS_CONNECTED
 };
 
+/**
+ * @brief Current USB connection mode
+ *
+ *  0: USB none mode
+ *  1: Default mode
+ *  2: SDB mode
+ *  3: SDB, DIAG mode
+ *  4: RNDIS mode for tethering
+ *  5: RNDIS mode for ethernet
+ *  6: RNDIS, SDB mode
+ *  7: DIAG, SDB mode
+ *  8: USB accessory mode
+ */
+#define VCONFKEY_USB_CUR_MODE "memory/usb/cur_mode"
+enum {
+       /** USB none mode */
+       SET_USB_NONE = 0,
+       /** Default mode */
+       SET_USB_DEFAULT,
+       /** SDB mode */
+       SET_USB_SDB,
+       /** SDB, DIAG mode */
+       SET_USB_SDB_DIAG,
+       /** RNDIS mode for tethering */
+       SET_USB_RNDIS_TETHERING,
+       /** RNDIS mode for ethernet */
+       SET_USB_RNDIS,
+       /** RNDIS, SDB mode */
+       SET_USB_RNDIS_SDB,
+       /** DIAG, SDB mode */
+       SET_USB_DIAG_SDB,
+       /** USB accessory mode */
+       SET_USB_ACCESSORY
+};
+
+/**
+ * @brief Selected USB connection mode by user
+ *
+ *  1: Default mode
+ *  2: SDB mode
+ *  3: SDB, DIAG mode
+ *  4: RNDIS mode for tethering
+ *  5: RNDIS mode for ethernet
+ *  6: RNDIS, SDB mode
+ *  7: DIAG, SDB mode
+ *  8: USB accessory mode
+ */
+#define VCONFKEY_USB_SEL_MODE "db/usb/sel_mode"
+
 
 
 /**
index 4385b2e..ee510db 100755 (executable)
@@ -69,6 +69,18 @@ enum {
 };
 
 /**
+ * @brief Wi-Fi background scanning mode
+ *
+ * 0: exponential mode(scan interval : 4, 8, 16, ...128s)
+ * 1: periodic mode(scan interval : 10s)
+ */
+#define VCONFKEY_WIFI_BGSCAN_MODE           "memory/wifi/bgscan_mode"
+enum {
+       VCONFKEY_WIFI_BGSCAN_MODE_EXPONENTIAL = 0,
+       VCONFKEY_WIFI_BGSCAN_MODE_PERIODIC = 1
+};
+
+/**
  * @brief State of Wi-Fi QS terminated
  *
  * 1: Wi-Fi connected and terminated
index b45e15f..e2c3bb7 100644 (file)
@@ -1,6 +1,6 @@
 Name:       vconf-internal-keys
 Summary:    Internal shared keys for vconf
-Version:    0.0.66
+Version:    0.0.76
 Release:    0
 Group:      Development/Headers
 License:    Apache License, Version 2.0
@@ -21,7 +21,7 @@ Vconf internal key header files (devel)
 %setup -q -n %{name}-%{version}
 
 %build
-cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+%cmake .
 
 make %{?jobs:-j%jobs}
 
@@ -29,9 +29,6 @@ make %{?jobs:-j%jobs}
 rm -rf %{buildroot}
 %make_install
 
-%post
-
-%postun
 
 %files devel
 %defattr(-,root,root,-)