Ubuntu Platform API
2.3.0
A library helping with tight integration into the Ubuntu platform
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
clipboard.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2013 Canonical Ltd.
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License version 3 as
6
* published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Authored by: Ricardo Mendoza <ricardo.mendoza@canonical.com>
17
* Thomas Voß <thomas.voss@canonical.com>
18
*/
19
20
#ifndef UBUNTU_APPLICATION_UI_CLIPBOARD_H_
21
#define UBUNTU_APPLICATION_UI_CLIPBOARD_H_
22
23
#include <
ubuntu/visibility.h
>
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
UBUNTU_DLL_PUBLIC
void
30
ua_ui_set_clipboard_content
(
31
void
* data,
32
size_t
size);
33
34
/*
35
Memory pointed by data is owned by Ubuntu Application API.
36
Caller is expected to not attempt to modify or delete it.
37
It's also not guaranteed to remain valid after any other call is made
38
to the Ubuntu Application API.
39
*/
40
UBUNTU_DLL_PUBLIC
void
41
ua_ui_get_clipboard_content
(
42
void
** data,
43
size_t
* size);
44
45
#ifdef __cplusplus
46
}
47
#endif
48
49
#endif
/* UBUNTU_APPLICATION_UI_CLIPBOARD_H_ */
visibility.h
ua_ui_get_clipboard_content
UBUNTU_DLL_PUBLIC void ua_ui_get_clipboard_content(void **data, size_t *size)
UBUNTU_DLL_PUBLIC
#define UBUNTU_DLL_PUBLIC
Definition:
visibility.h:26
ua_ui_set_clipboard_content
UBUNTU_DLL_PUBLIC void ua_ui_set_clipboard_content(void *data, size_t size)
include
ubuntu
application
ui
clipboard.h
Generated on Mon Sep 29 2014 15:13:02 for Ubuntu Platform API by
1.8.8