From fb76d579ff1fa246a25907b9606f073762fa0c56 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Wed, 17 Apr 2013 15:23:20 +0900 Subject: [PATCH] Add MMC status changed event type Some boxes need to know the status of MMC mount. Change-Id: Iec36d9666cd90f44f93fcc102de45978d9c02ae8 --- include/livebox.h | 1 + packaging/liblivebox.spec | 2 +- src/livebox.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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 3ce9364..3aafd41 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) { -- 2.7.4