summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-04-18 14:00:01 +0900
committerSung-jae Park <nicesj.park@samsung.com>2013-04-18 14:00:23 +0900
commitc895dce71a66a4421ca5ee9b63825037fcd41eea (patch)
treeaa825873f9bd1fbb0fc4c9eeb74e840dd6c55e1d
parent2e1a154fe32928fdcc36235b7291d7f50c6d345a (diff)
downloadlivebox-c895dce71a66a4421ca5ee9b63825037fcd41eea.tar.gz
livebox-c895dce71a66a4421ca5ee9b63825037fcd41eea.tar.bz2
livebox-c895dce71a66a4421ca5ee9b63825037fcd41eea.zip
Add MMC status changed event type
Some boxes need to know the status of MMC mount. Change-Id: Ia211e22c352ec77e84d81f42296433c5f617db32
-rw-r--r--include/livebox.h1
-rw-r--r--packaging/liblivebox.spec2
-rw-r--r--src/livebox.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/include/livebox.h b/include/livebox.h
index 863df72..7071d74 100644
--- a/include/livebox.h
+++ b/include/livebox.h
@@ -45,6 +45,7 @@ extern const int LB_SYS_EVENT_TIME_CHANGED; /*!< System time is changed */
extern const int LB_SYS_EVENT_REGION_CHANGED; /*!< Region changed */
extern const int LB_SYS_EVENT_PAUSED;
extern const int LB_SYS_EVENT_RESUMED;
+extern const int LB_SYS_EVENT_MMC_STATUS_CHANGED; /*!< MMC Status change event */
#define LB_DESC_TYPE_COLOR "color"
#define LB_DESC_TYPE_TEXT "text"
diff --git a/packaging/liblivebox.spec b/packaging/liblivebox.spec
index 47d0ef4..612148c 100644
--- a/packaging/liblivebox.spec
+++ b/packaging/liblivebox.spec
@@ -1,6 +1,6 @@
Name: liblivebox
Summary: Library for the development of a livebox
-Version: 0.2.1
+Version: 0.2.2
Release: 1
Group: HomeTF/Livebox
License: Flora License
diff --git a/src/livebox.c b/src/livebox.c
index 339e59c..8bc10df 100644
--- a/src/livebox.c
+++ b/src/livebox.c
@@ -83,6 +83,7 @@ PUBLIC const int LB_SYS_EVENT_TIME_CHANGED = 0x04;
PUBLIC const int LB_SYS_EVENT_REGION_CHANGED = 0x08;
PUBLIC const int LB_SYS_EVENT_PAUSED = 0x0100;
PUBLIC const int LB_SYS_EVENT_RESUMED = 0x0200;
+PUBLIC const int LB_SYS_EVENT_MMC_STATUS_CHANGED = 0x0400;
PUBLIC struct livebox_desc *livebox_desc_open(const char *filename, int for_pd)
{