~vorlon/platform-api/lp.1465958

« back to all changes in this revision

Viewing changes to include/ubuntu/application/ui/clipboard.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_CLIPBOARD_H_
21
26
#define UBUNTU_APPLICATION_UI_CLIPBOARD_H_
22
27
 
29
34
    /*
30
35
        FIXME: See ua_ui_get_clipboard_content
31
36
    */
 
37
    __attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
32
38
    UBUNTU_DLL_PUBLIC void
33
39
    ua_ui_set_clipboard_content(
34
40
        void* data,
45
51
        contains. It should provide a mapping between mime types (as plain ascii strings)
46
52
        and their respective data so the user is able to interpret the contents properly.
47
53
    */
 
54
    __attribute__((__deprecated__("Use u_application_instance_get_mir_connection and the mir client library")))
48
55
    UBUNTU_DLL_PUBLIC void
49
56
    ua_ui_get_clipboard_content(
50
57
        void** data,