change boilerplate(SLP)
[framework/uifw/cbhm.git] / src / clipdrawer.h
1 /*
2  * Copyright (c) 2009 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * PROPRIETARY/CONFIDENTIAL
5  *
6  * This software is the confidential and proprietary information of
7  * SAMSUNG ELECTRONICS ("Confidential Information"). You agree and
8  * acknowledge that this software is owned by Samsung and you shall
9  * not disclose such Confidential Information and shall use it only
10  * in accordance with the terms of the license agreement you entered
11  * into with SAMSUNG ELECTRONICS.  SAMSUNG make no representations
12  * or warranties about the suitability of the software, either express
13  * or implied, including but not limited to the implied warranties of
14  * merchantability, fitness for a particular purpose, or non-infringement.
15  * SAMSUNG shall not be liable for any damages suffered by
16  * licensee arising out of or releated to this software.
17  */
18
19 #ifndef _clipdrawer_h_
20 #define _clipdrawer_h_
21
22 #define CLIPDRAWER_HEIGHT 360
23 #define CLIPDRAWER_HEIGHT_LANDSCAPE 228
24
25 enum {
26         GI_TEXT = 0,
27         GI_IMAGE,
28
29         GI_MAX_ITEMS,
30 };
31
32 /* view maintains */
33 int clipdrawer_init(void *data);
34 int clipdrawer_create_view(void *data);
35 void clipdrawer_activate_view(void *data);
36 //void clipdrawer_hide_view(void *data);
37 void clipdrawer_lower_view(void *data);
38
39 void set_rotation_to_clipdrawer(void *data);
40
41 const char* clipdrawer_get_plain_string_from_escaped(char *escstr);
42
43 char *clipdrawer_get_item_data(void *data, int pos);
44 int clipdrawer_add_item(char *idata, int type);
45
46 void clipdrawer_paste_textonly_set(void *data, Eina_Bool textonly);
47 Eina_Bool clipdrawer_paste_textonly_get(void *data);
48
49 #endif // _clipdrawer_h_