Merge "custom eail widget implementation" into tizen
[platform/core/uifw/eail.git] / eail / eail_clipboard.h
1 #ifndef EAIL_CLIPBOARD
2 #define EAIL_CLIPBOARD
3
4 /*
5  * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this library; see the file COPYING.LIB.  If not, write to
19  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21  */
22
23 /**
24  * @file eail_clipboard.h
25  *
26  * @brief Header for EailClipboard implementation
27  */
28
29 #ifdef __cplusplus
30 extern "C" {
31 #endif /* __cplusplus */
32
33 /**
34  * @brief Gets clipboard text
35  */
36 const char *eail_clipboard_get_text(void);
37
38 /**
39  * @brief Sets clipboard text
40  */
41 void eail_clipboard_set_text(const char *text);
42
43 /**
44  * @brief Frees memory allocated by clipboard
45  */
46 void eail_clipboard_free(void);
47
48 #ifdef __cplusplus
49 }
50 #endif /* __cplusplus */
51
52 #endif /* EAIL_CLIPBOARD */