From f7fa9adf874f7d05cb2d9a73a86ac26f64fedb77 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Tue, 15 Jan 2013 14:17:58 +0900 Subject: [PATCH] Add TIME_CHANGED event Change-Id: Ifa9ca0d344236826ba1a8906778c86fe3ad237e7 --- include/livebox.h | 1 + packaging/liblivebox.spec | 2 +- src/livebox.c | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/livebox.h b/include/livebox.h index c17c222..3479af8 100644 --- a/include/livebox.h +++ b/include/livebox.h @@ -35,6 +35,7 @@ extern const int NEED_TO_DESTROY; /*!< Need to destroy this instance */ extern const int LB_SYS_EVENT_FONT_CHANGED; /*!< System font is changed */ extern const int LB_SYS_EVENT_LANG_CHANGED; /*!< System language is changed */ +extern const int LB_SYS_EVENT_TIME_CHANGED; /*!< System time is changed */ extern const int LB_SYS_EVENT_PAUSED; extern const int LB_SYS_EVENT_RESUMED; diff --git a/packaging/liblivebox.spec b/packaging/liblivebox.spec index ec0db1c..01ddd60 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.1.9 +Version: 0.1.10 Release: 1 Group: main/app License: Flora License diff --git a/src/livebox.c b/src/livebox.c index 9fcf597..b2e6f4d 100644 --- a/src/livebox.c +++ b/src/livebox.c @@ -68,8 +68,9 @@ EAPI const int NEED_TO_CREATE = 0x01; EAPI const int NEED_TO_DESTROY = 0x01; EAPI const int LB_SYS_EVENT_FONT_CHANGED = 0x01; EAPI const int LB_SYS_EVENT_LANG_CHANGED = 0x02; -EAPI const int LB_SYS_EVENT_PAUSED = 0x04; -EAPI const int LB_SYS_EVENT_RESUMED = 0x08; +EAPI const int LB_SYS_EVENT_TIME_CHANGED = 0x04; +EAPI const int LB_SYS_EVENT_PAUSED = 0x0100; +EAPI const int LB_SYS_EVENT_RESUMED = 0x0200; EAPI struct livebox_desc *livebox_desc_open(const char *filename, int for_pd) { -- 2.7.4