~vorlon/platform-api/lp.1465958

« back to all changes in this revision

Viewing changes to include/ubuntu/application/ui/window_parent.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_PARENT_H_
21
26
#define UBUNTU_APPLICATION_UI_WINDOW_PARENT_H_
22
27
 
35
40
    } UApplicationUiWindowParentType;
36
41
    
37
42
    typedef struct UApplicationUiWindowParent;
38
 
    
 
43
 
 
44
    __attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
39
45
    UBUNTU_DLL_PUBLIC UApplicationUiWindowParent*
40
46
    u_application_ui_window_parent_new_with_window(
41
47
        UApplicationUiWindow *window);
42
 
    
 
48
 
 
49
    __attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
43
50
    UBUNTU_DLL_PUBLIC UApplicationUiWindowParent*
44
51
    u_application_ui_window_parent_new_with_application(
45
52
        UApplicationInstance *instance);
46
 
    
 
53
 
 
54
    __attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
47
55
    UBUNTU_DLL_PUBLIC UApplicationUiWindowParent*
48
56
    u_application_ui_window_parent_new_for_session();
49
 
    
 
57
 
 
58
    __attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
50
59
    UBUNTU_DLL_PUBLIC UApplicationUiWindowParent*
51
60
    u_application_ui_window_parent_new_for_system();
52
 
    
 
61
 
 
62
    __attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
53
63
    UBUNTU_DLL_PUBLIC void
54
64
    u_application_ui_window_parent_destroy(
55
65
        UApplicationUiWindowParent *parent);
56
 
    
 
66
 
 
67
    __attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
57
68
    UBUNTU_DLL_PUBLIC UApplicationUiWindowParentType
58
69
    u_application_ui_window_parent_get_type(
59
70
        UApplicationUiWindowParent *parent);
60
 
    
 
71
 
 
72
    __attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
61
73
    UBUNTU_DLL_PUBLIC UApplicationUiWindow*
62
74
    u_application_ui_window_parent_get_parent_window(
63
75
        UApplicationUiWindowParent *parent);