Add new interface for changing color
authorSung-jae Park <nicesj.park@samsung.com>
Wed, 30 Jan 2013 05:59:48 +0000 (05:59 +0000)
committerSung-jae Park <nicesj.park@samsung.com>
Wed, 30 Jan 2013 05:59:48 +0000 (05:59 +0000)
need_to_update function can returns network status flag.

Change-Id: I7b7b2637c301c79a27034eec1d2b1a48c6fbedaa

include/livebox.h
packaging/liblivebox.spec
src/livebox.c

index 3479af8..311403f 100644 (file)
@@ -28,10 +28,14 @@ struct livebox_buffer; /* Defined by provider */
  * Return values of livebox programming interfaces.
  */
 extern const int DONE; /*!< Operation is successfully done */
-extern const int NEED_TO_SCHEDULE; /*!< Need to call the livebox_need_to_update and livebox_update_content */
 extern const int OUTPUT_UPDATED; /*!< Contents is updated */
+
+extern const int NEED_TO_SCHEDULE; /*!< Need to call the livebox_need_to_update and livebox_update_content */
 extern const int NEED_TO_CREATE; /*!< Need to create a new instance */
 extern const int NEED_TO_DESTROY; /*!< Need to destroy this instance */
+extern const int NEED_TO_UPDATE;
+
+extern const int USE_NET; /*!< Using network */
 
 extern const int LB_SYS_EVENT_FONT_CHANGED; /*!< System font is changed */
 extern const int LB_SYS_EVENT_LANG_CHANGED; /*!< System language is changed */
@@ -39,6 +43,7 @@ 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;
 
+#define LB_DESC_TYPE_COLOR "color"
 #define LB_DESC_TYPE_TEXT "text"
 #define LB_DESC_TYPE_IMAGE "image"
 #define LB_DESC_TYPE_SIGNAL "signal"
index f4156e4..4270930 100644 (file)
@@ -1,6 +1,6 @@
 Name: liblivebox
 Summary: Library for the development of a livebox 
-Version: 0.1.11
+Version: 0.1.13
 Release: 1
 Group: main/app
 License: Flora License
index 61a20b5..6a7b066 100644 (file)
@@ -62,10 +62,14 @@ struct livebox_desc {
 };
 
 EAPI const int DONE = 0x00;
-EAPI const int NEED_TO_SCHEDULE = 0x01;
 EAPI const int OUTPUT_UPDATED = 0x02;
+EAPI const int USE_NET = 0x04;
+
+EAPI const int NEED_TO_SCHEDULE = 0x01;
 EAPI const int NEED_TO_CREATE = 0x01;
 EAPI const int NEED_TO_DESTROY = 0x01;
+EAPI const int NEED_TO_UPDATE = 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_TIME_CHANGED = 0x04;