launch: implement appinfo interface
[platform/core/uifw/libds-tizen.git] / include / libds-tizen / launch / appinfo.h
1 #ifndef LIBDS_TIZEN_APPINFO_H
2 #define LIBDS_TIZEN_APPINFO_H
3
4 #include <stdint.h>
5 #include <wayland-server.h>
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11 struct ds_tizen_appinfo_mgr;
12 struct ds_tizen_appinfo;
13
14 struct ds_tizen_appinfo_mgr *
15 ds_tizen_appinfo_mgr_create(struct wl_display *display);
16
17 void
18 ds_tizen_appinfo_mgr_add_destroy_listener(
19         struct ds_tizen_appinfo_mgr *appinfo_mgr, struct wl_listener *listener);
20
21 void
22 ds_tizen_appinfo_mgr_add_set_pid_listener(
23         struct ds_tizen_appinfo_mgr *appinfo_mgr, struct wl_listener *listener);
24
25 void
26 ds_tizen_appinfo_mgr_add_set_appid_listener(
27         struct ds_tizen_appinfo_mgr *appinfo_mgr, struct wl_listener *listener);
28
29 void
30 ds_tizen_appinfo_mgr_add_metadata_ready_listener(
31         struct ds_tizen_appinfo_mgr *appinfo_mgr, struct wl_listener *listener);
32
33 //for gtest
34 struct wl_resource *
35 ds_tizen_appinfo_mgr_get_appinfo_resource(
36         struct ds_tizen_appinfo_mgr *appinfo_mgr);
37
38 #ifdef __cplusplus
39 }
40 #endif
41
42 #endif