summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
64c4b5e)
To update a box individually, we need a new interface.
Change-Id: I17b2669c0d226cf3964bc4f41105a0f5123ce857
PD_KEY_DOWN = CONTENT_EVENT_PD_MASK | CONTENT_EVENT_KEY_MASK | CONTENT_EVENT_KEY_DOWN,
PD_KEY_UP = CONTENT_EVENT_PD_MASK | CONTENT_EVENT_KEY_MASK | CONTENT_EVENT_KEY_UP,
PD_KEY_DOWN = CONTENT_EVENT_PD_MASK | CONTENT_EVENT_KEY_MASK | CONTENT_EVENT_KEY_DOWN,
PD_KEY_UP = CONTENT_EVENT_PD_MASK | CONTENT_EVENT_KEY_MASK | CONTENT_EVENT_KEY_UP,
CONTENT_EVENT_MAX = 0xFFFFFFFF,
};
CONTENT_EVENT_MAX = 0xFFFFFFFF,
};
extern int livebox_refresh_group(const char *cluster, const char *category);
/*!
extern int livebox_refresh_group(const char *cluster, const char *category);
/*!
+ * \brief Refresh a livebox
+ * \param[in] handler
+ * \return int Success 0 or negative value
+ */
+extern int livebox_refresh(struct livebox *handler);
+
+/*!
* \brief Pixmap Id of a livebox content
* \param[in] handler
* \return int
* \brief Pixmap Id of a livebox content
* \param[in] handler
* \return int
{
Evas_Object *size_list;
char buffer[256];
{
Evas_Object *size_list;
char buffer[256];
+ int sizes[NR_OF_SIZE_LIST];
int cnt;
int i;
int w;
int h;
size_list = elm_list_add(layout);
int cnt;
int i;
int w;
int h;
size_list = elm_list_add(layout);
+ cnt = sizeof(sizes) / sizeof(sizes[0]);
livebox_get_supported_sizes(handle, &cnt, sizes);
for (i = 0; i < cnt; i++) {
livebox_service_get_size(sizes[i], &w, &h);
livebox_get_supported_sizes(handle, &cnt, sizes);
for (i = 0; i < cnt; i++) {
livebox_service_get_size(sizes[i], &w, &h);
Name: liblivebox-viewer
Summary: Library for developing the application.
Name: liblivebox-viewer
Summary: Library for developing the application.
Release: 1
Group: framework/livebox
License: Flora License
Release: 1
Group: framework/livebox
License: Flora License
return master_rpc_request_only(NULL, packet);
}
return master_rpc_request_only(NULL, packet);
}
+EAPI int livebox_refresh(struct livebox *handler)
+{
+ struct packet *packet;
+
+ if (!handler) {
+ ErrPrint("Hnalder is NIL\n");
+ return -EINVAL;
+ }
+
+ if (handler->state != CREATE || !handler->id)
+ return -EINVAL;
+
+ packet = packet_create_noack("update", "ss", handler->pkgname, handler->id);
+ if (!packet) {
+ ErrPrint("Failed to create a packet\n");
+ return -EFAULT;
+ }
+
+ return master_rpc_request_only(handler, packet);
+}
+
EAPI int livebox_refresh_group(const char *cluster, const char *category)
{
struct packet *packet;
EAPI int livebox_refresh_group(const char *cluster, const char *category)
{
struct packet *packet;