Fix the bug of livebox_get_pdsize function.
[platform/framework/web/livebox-viewer.git] / include / livebox_internal.h
index d7dc0ed..4a6b100 100644 (file)
 extern int lb_set_group(struct livebox *handler, const char *cluster, const char *category);
 extern void lb_set_size(struct livebox *handler, int w, int h);
 extern void lb_set_pdsize(struct livebox *handler, int w, int h);
+extern void lb_set_default_pdsize(struct livebox *handler, int w, int h);
 extern void lb_invoke_event_handler(struct livebox *handler, enum livebox_event_type event);
 extern void lb_invoke_fault_handler(enum livebox_fault_type type, const char *pkgname, const char *filename, const char *function);
 extern int lb_set_content(struct livebox *handler, const char *content);
 extern int lb_set_title(struct livebox *handler, const char *title);
-extern void lb_set_auto_launch(struct livebox *handler, int auto_launch);
+extern void lb_set_auto_launch(struct livebox *handler, const char *auto_launch);
 extern struct livebox *lb_find_livebox(const char *pkgname, const char *filename);
 extern struct livebox *lb_new_livebox(const char *pkgname, const char *filename, double timestamp);
 extern struct livebox *lb_find_livebox_by_timestamp(double timestamp);
@@ -97,9 +98,10 @@ struct livebox {
                int height;
                double priority;
 
-               int auto_launch;
+               char *auto_launch;
                double period;
                int pinup_supported;
+               int mouse_event;
 
                /* For the filtering event */
                double x;
@@ -116,6 +118,9 @@ struct livebox {
                int width;
                int height;
 
+               int default_width;
+               int default_height;
+
                /* For the filtering event */
                double x;
                double y;
@@ -140,6 +145,9 @@ struct livebox {
        ret_cb_t period_changed_cb;
        void *period_cbdata;
 
+       ret_cb_t size_changed_cb;
+       void *size_cbdata;
+
        ret_cb_t pd_created_cb;
        void *pd_created_cbdata;