blob: a0b8b328dbde43d6f295c9a2584786e39481d9a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
/*
* Copyright 2016 Samsung Electronics Co., Ltd
*
* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://floralicense.org/license/
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __TIZEN_SHARE_PANEL_GRID_H__
#define __TIZEN_SHARE_PANEL_GRID_H__
#include <Elementary.h>
/**
* @ingroup View
* @defgroup Grid Grid
* @addtogroup Grid
* @{
*/
/**
* @brief Creates grid of applications that meet sharing requirements.
*
* @param page The page widget
*
* @return created grid
*/
extern Evas_Object *_grid_create(Evas_Object *page);
/**
* @brief Destroys the application grid.
*
* @param grid The grid to be destroyed
*/
extern void _grid_destroy(Evas_Object *grid);
/**
* @brief Appends item to the application grid.
*
* @param grid The grid widget
* @param item_info The info structure of the item to be appended
*
* @return Elm_Object_Item of the appended item
*/
extern Elm_Object_Item *_grid_append_item(Evas_Object *grid, item_s *item_info);
/**
* @brief Removes item from the application grid.
*
* @param grid The grid where item is removed
* @param item_info Info structure of the item to be removed
*/
extern void _grid_remove_item(Evas_Object *grid, item_s *item_info);
/**
* @brief Returns number of items in application grid.
*
* @param grid The grid widget
*/
extern int _grid_count_item(Evas_Object *grid);
/**
* @brief Sends app control launch request related to the given item.
*
* @param item The info structure of the item related with app to be launched
*
* @return app_control_error_e type value
*/
int _app_control_launch(item_s *item);
/**
* @}
*/
#endif /* __TIZEN_SHARE_PANEL_GRID_H__ */
|