summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_plug_eo.legacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_plug_eo.legacy.h')
-rw-r--r--src/lib/elementary/elm_plug_eo.legacy.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_plug_eo.legacy.h b/src/lib/elementary/elm_plug_eo.legacy.h
new file mode 100644
index 0000000..8d772cb
--- /dev/null
+++ b/src/lib/elementary/elm_plug_eo.legacy.h
@@ -0,0 +1,49 @@
1#ifndef _ELM_PLUG_EO_LEGACY_H_
2#define _ELM_PLUG_EO_LEGACY_H_
3
4#ifndef _ELM_PLUG_EO_CLASS_TYPE
5#define _ELM_PLUG_EO_CLASS_TYPE
6
7typedef Eo Elm_Plug;
8
9#endif
10
11#ifndef _ELM_PLUG_EO_TYPES
12#define _ELM_PLUG_EO_TYPES
13
14
15#endif
16
17/**
18 * @brief Get the basic Evas_Image object from this object (widget).
19 *
20 * This function allows one to get the underlying Evas object of type Image
21 * from this elementary widget. It can be useful to do things like get the
22 * pixel data, save the image to a file, etc.
23 *
24 * @note Be careful to not manipulate it, as it is under control of elementary.
25 *
26 * @param[in] obj The object.
27 *
28 * @return The inlined image object or @c null.
29 *
30 * @ingroup Elm_Plug_Group
31 */
32EAPI Efl_Canvas_Object *elm_plug_image_object_get(const Elm_Plug *obj);
33
34/**
35 * @brief Connect a plug widget to service provided by socket image.
36 *
37 * @param[in] obj The object.
38 * @param[in] svcname The service name to connect to set up by the socket.
39 * @param[in] svcnum The service number to connect to (set up by socket).
40 * @param[in] svcsys Boolean to set if the service is a system one or not (set
41 * up by socket).
42 *
43 * @return @c true on success, @c false on error.
44 *
45 * @ingroup Elm_Plug_Group
46 */
47EAPI Eina_Bool elm_plug_connect(Elm_Plug *obj, const char *svcname, int svcnum, Eina_Bool svcsys);
48
49#endif