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})
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})
--- /dev/null
+/*
+ * 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__ */
+
--- /dev/null
+/*
+ * 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__ */
+
--- /dev/null
+
+/*
+ * 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__ */
#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"
#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__ */
* format : "state:package_name"
* State means create | update | delete.
*/
-#define VCONFKEY_MENUSCREEN_DESKTOP "memory/menuscreen/desktop"
+#define VCONFKEY_MENUSCREEN_DESKTOP "db/menuscreen/desktop"
/**
#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"
/**
* @}
#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"
#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
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
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
+};
+
/**
* @}
*/
};
/**
+* @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
+};
+
+/**
* @}
*/
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"
+
/**
};
/**
+ * @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
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
%setup -q -n %{name}-%{version}
%build
-cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+%cmake .
make %{?jobs:-j%jobs}
rm -rf %{buildroot}
%make_install
-%post
-
-%postun
%files devel
%defattr(-,root,root,-)