~vorlon/platform-api/lp.1465958

« back to all changes in this revision

Viewing changes to include/ubuntu/application/ui/window_properties.h

  • Committer: CI Train Bot
  • Author(s): Robert Carr, Robert Carr, Alberto Aguirre, Michał Sawicz
  • Date: 2015-03-18 10:11:43 UTC
  • mfrom: (287.2.14 origin/expose-mir-connection)
  • Revision ID: ci-train-bot@canonical.com-20150318101143-t3w1n6r2eaxaasa0
Expose MirConnection form UApplicationIntance and deprecate the ua_ui namespace.
Approved by: Alberto Aguirre, PS Jenkins bot, Gerry Boland

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *              Thomas Voß <thomas.voss@canonical.com>           
18
18
 */
19
19
 
 
20
/*
 
21
 * DEPRECATED: In favor of u_application_instance_get_mir_connection
 
22
 * and the mir client library
 
23
 */
 
24
 
20
25
#ifndef UBUNTU_APPLICATION_UI_WINDOW_PROPERTIES_H_
21
26
#define UBUNTU_APPLICATION_UI_WINDOW_PROPERTIES_H_
22
27
 
47
52
    typedef event_cb UAUiWindowEventCb;
48
53
 
49
54
    typedef void UAUiWindowProperties;
50
 
    
 
55
 
 
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();
53
 
   
 
59
 
 
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);
57
 
    
 
64
 
 
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,
61
69
        const char *title,
62
70
        size_t size);
63
 
    
 
71
 
 
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);
67
 
  
 
76
 
 
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);
72
82
 
 
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);
76
87
 
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,
82
94
        void *ctx);
83
95
 
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,
88
101
        void *ctx);
89
102
 
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,
93
107
        uint32_t width,