updated boilerplate
[framework/uifw/cbhm.git] / src / clipdrawer.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *  Licensed under the Apache License, Version 2.0 (the "License");
5  *  you may not use this file except in compliance with the License.
6  *  You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *  Unless required by applicable law or agreed to in writing, software
11  *  distributed under the License is distributed on an "AS IS" BASIS,
12  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *  See the License for the specific language governing permissions and
14  *  limitations under the License.
15  *
16  */
17
18 #ifndef _clipdrawer_h_
19 #define _clipdrawer_h_
20
21 #define CLIPDRAWER_HEIGHT 360
22 #define CLIPDRAWER_HEIGHT_LANDSCAPE 228
23
24 enum {
25         GI_TEXT = 0,
26         GI_IMAGE,
27
28         GI_MAX_ITEMS,
29 };
30
31 /* view maintains */
32 int clipdrawer_init(void *data);
33 int clipdrawer_create_view(void *data);
34 void clipdrawer_activate_view(void *data);
35 //void clipdrawer_hide_view(void *data);
36 void clipdrawer_lower_view(void *data);
37
38 void set_rotation_to_clipdrawer(void *data);
39
40 const char* clipdrawer_get_plain_string_from_escaped(char *escstr);
41
42 char *clipdrawer_get_item_data(void *data, int pos);
43 int clipdrawer_add_item(char *idata, int type);
44
45 void clipdrawer_paste_textonly_set(void *data, Eina_Bool textonly);
46 Eina_Bool clipdrawer_paste_textonly_get(void *data);
47
48 #endif // _clipdrawer_h_