summaryrefslogtreecommitdiff
path: root/include/instance.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/instance.h')
-rw-r--r--include/instance.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/instance.h b/include/instance.h
index 016d704..69b6d55 100644
--- a/include/instance.h
+++ b/include/instance.h
@@ -113,6 +113,9 @@ enum livebox_visible_state { /*!< Must be sync'd with livebox-viewer */
LB_VISIBLE_ERROR = 0xFFFFFFFF, /* To enlarge the size of this enumeration type */
};
+#define IS_PD 1
+#define IS_LB 0
+
struct inst_info;
struct pkg_info;
struct script_handle;
@@ -184,6 +187,7 @@ extern const enum instance_state const instance_state(const struct inst_info *in
*/
extern int instance_unicast_created_event(struct inst_info *inst, struct client_node *client);
extern int instance_unicast_deleted_event(struct inst_info *inst, struct client_node *client);
+extern void instance_send_resized_event(struct inst_info *inst, int is_pd, int w, int h, int status);
extern int instance_create_lb_buffer(struct inst_info *inst);
extern int instance_create_pd_buffer(struct inst_info *inst);