summaryrefslogtreecommitdiff
path: root/include/efl.c_eo.pxd
diff options
context:
space:
mode:
authorDavide Andreoli <dave@gurumeditation.it>2013-02-14 20:54:53 +0000
committerDavide Andreoli <dave@gurumeditation.it>2013-02-14 20:54:53 +0000
commit744fab5c922c26fa96e386f073a7879d5f89d307 (patch)
tree10de3e9a23dff2b06422bee67ada4a31bc173ea8 /include/efl.c_eo.pxd
parent69832134e77b1d8b1f1d47a1eb499c73f542ad42 (diff)
New line chars from CR/LF to LF
SVN revision: 83924
Diffstat (limited to 'include/efl.c_eo.pxd')
-rw-r--r--include/efl.c_eo.pxd170
1 files changed, 85 insertions, 85 deletions
diff --git a/include/efl.c_eo.pxd b/include/efl.c_eo.pxd
index a6c54eb..4ab29fb 100644
--- a/include/efl.c_eo.pxd
+++ b/include/efl.c_eo.pxd
@@ -1,85 +1,85 @@
1# Copyright (C) 2007-2013 various contributors (see AUTHORS) 1# Copyright (C) 2007-2013 various contributors (see AUTHORS)
2# 2#
3# This file is part of Python-EFL. 3# This file is part of Python-EFL.
4# 4#
5# Python-EFL is free software; you can redistribute it and/or 5# Python-EFL is free software; you can redistribute it and/or
6# modify it under the terms of the GNU Lesser General Public 6# modify it under the terms of the GNU Lesser General Public
7# License as published by the Free Software Foundation; either 7# License as published by the Free Software Foundation; either
8# version 2.1 of the License, or (at your option) any later version. 8# version 2.1 of the License, or (at your option) any later version.
9# 9#
10# Python-EFL is distributed in the hope that it will be useful, 10# Python-EFL is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of 11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# Lesser General Public License for more details. 13# Lesser General Public License for more details.
14# 14#
15# You should have received a copy of the GNU Lesser General Public License 15# You should have received a copy of the GNU Lesser General Public License
16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>. 16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
17 17
18from efl cimport * 18from efl cimport *
19 19
20cdef extern from "Eo.h": 20cdef extern from "Eo.h":
21 #################################################################### 21 ####################################################################
22 # Basic Types 22 # Basic Types
23 # 23 #
24 24
25 25
26 #################################################################### 26 ####################################################################
27 # Enumerations 27 # Enumerations
28 # 28 #
29 29
30 30
31 #################################################################### 31 ####################################################################
32 # Structures 32 # Structures
33 # 33 #
34 ctypedef struct Eo 34 ctypedef struct Eo
35 ctypedef Eo const_Eo "const Eo" 35 ctypedef Eo const_Eo "const Eo"
36 36
37 ctypedef struct Eo_Class 37 ctypedef struct Eo_Class
38 ctypedef Eo_Class const_Eo_Class "const Eo_Class" 38 ctypedef Eo_Class const_Eo_Class "const Eo_Class"
39 39
40 ctypedef struct Eo_Event_Description: 40 ctypedef struct Eo_Event_Description:
41 const_char_ptr name 41 const_char_ptr name
42 const_char_ptr doc 42 const_char_ptr doc
43 43
44 ctypedef Eo_Event_Description const_Eo_Event_Description "const Eo_Event_Description" 44 ctypedef Eo_Event_Description const_Eo_Event_Description "const Eo_Event_Description"
45 45
46 #################################################################### 46 ####################################################################
47 # Eo Events 47 # Eo Events
48 # 48 #
49 cdef const_Eo_Event_Description *EO_EV_DEL 49 cdef const_Eo_Event_Description *EO_EV_DEL
50 50
51 #################################################################### 51 ####################################################################
52 # Other typedefs 52 # Other typedefs
53 # 53 #
54 ctypedef Eina_Bool (*Eo_Event_Cb)(void *data, Eo *obj, const_Eo_Event_Description *desc, void *event_info) 54 ctypedef Eina_Bool (*Eo_Event_Cb)(void *data, Eo *obj, const_Eo_Event_Description *desc, void *event_info)
55 55
56 ctypedef void (*eo_base_data_free_func)(void *) 56 ctypedef void (*eo_base_data_free_func)(void *)
57 57
58 58
59 #################################################################### 59 ####################################################################
60 # Functions 60 # Functions
61 # 61 #
62 int eo_init() 62 int eo_init()
63 int eo_shutdown() 63 int eo_shutdown()
64 64
65 Eo *eo_add(const_Eo_Class *klass, Eo *parent, ...) 65 Eo *eo_add(const_Eo_Class *klass, Eo *parent, ...)
66 Eo *eo_ref(const_Eo *obj) 66 Eo *eo_ref(const_Eo *obj)
67 void eo_unref(const_Eo *obj) 67 void eo_unref(const_Eo *obj)
68 int eo_ref_get(const_Eo *obj) 68 int eo_ref_get(const_Eo *obj)
69 void eo_del(const_Eo *obj) 69 void eo_del(const_Eo *obj)
70 70
71 void eo_wref_add(Eo *obj) 71 void eo_wref_add(Eo *obj)
72 72
73 Eina_Bool eo_do(Eo *obj, ...) 73 Eina_Bool eo_do(Eo *obj, ...)
74 void eo_base_data_set(const_char_ptr key, const_void *data, eo_base_data_free_func free_func) 74 void eo_base_data_set(const_char_ptr key, const_void *data, eo_base_data_free_func free_func)
75 void eo_base_data_get(const_char_ptr key, void **data) 75 void eo_base_data_get(const_char_ptr key, void **data)
76 void eo_base_data_del(const_char_ptr key) 76 void eo_base_data_del(const_char_ptr key)
77 77
78 const_Eo_Class *eo_class_get(const_Eo *obj) 78 const_Eo_Class *eo_class_get(const_Eo *obj)
79 const_char_ptr eo_class_name_get(const_Eo_Class *klass) 79 const_char_ptr eo_class_name_get(const_Eo_Class *klass)
80 80
81 Eo *eo_parent_get(const_Eo *obj) 81 Eo *eo_parent_get(const_Eo *obj)
82 82
83 void eo_event_callback_add(const_Eo_Event_Description *desc, Eo_Event_Cb cb, const_void *data) 83 void eo_event_callback_add(const_Eo_Event_Description *desc, Eo_Event_Cb cb, const_void *data)
84 void eo_event_callback_del(const_Eo_Event_Description *desc, Eo_Event_Cb cb, const_void *data) 84 void eo_event_callback_del(const_Eo_Event_Description *desc, Eo_Event_Cb cb, const_void *data)
85 85