17
17
* Thomas Voß <thomas.voss@canonical.com>
21
* DEPRECATED: In favor of u_application_instance_get_mir_connection
22
* and the mir client library
20
25
#ifndef UBUNTU_APPLICATION_UI_WINDOW_PROPERTIES_H_
21
26
#define UBUNTU_APPLICATION_UI_WINDOW_PROPERTIES_H_
47
52
typedef event_cb UAUiWindowEventCb;
49
54
typedef void UAUiWindowProperties;
56
__attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
51
57
UBUNTU_DLL_PUBLIC UAUiWindowProperties*
52
58
ua_ui_window_properties_new_for_normal_window();
60
__attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
54
61
UBUNTU_DLL_PUBLIC void
55
62
ua_ui_window_properties_destroy(
56
63
UAUiWindowProperties *properties);
65
__attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
58
66
UBUNTU_DLL_PUBLIC void
59
67
ua_ui_window_properties_set_titlen(
60
68
UAUiWindowProperties *properties,
72
__attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
64
73
UBUNTU_DLL_PUBLIC const char*
65
74
ua_ui_window_properties_get_title(
66
75
UAUiWindowProperties *properties);
77
__attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
68
78
UBUNTU_DLL_PUBLIC void
69
79
ua_ui_window_properties_set_role(
70
80
UAUiWindowProperties *properties,
71
81
UAUiWindowRole role);
83
__attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
73
84
UBUNTU_DLL_PUBLIC UAUiWindowRole
74
85
ua_ui_window_properties_get_role(
75
86
UAUiWindowProperties *properties);
77
88
// Deprecated! Use ua_ui_window_properties_set_event_cb_and_ctx instead.
89
__attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
78
90
UBUNTU_DLL_PUBLIC void
79
91
ua_ui_window_properties_set_input_cb_and_ctx(
80
92
UAUiWindowProperties *properties,
84
96
UBUNTU_DLL_PUBLIC void
97
__attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
85
98
ua_ui_window_properties_set_event_cb_and_ctx(
86
99
UAUiWindowProperties *properties,
87
100
UAUiWindowEventCb cb,
90
103
UBUNTU_DLL_PUBLIC void
104
__attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
91
105
ua_ui_window_properties_set_dimensions(
92
106
UAUiWindowProperties *properties,