diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/elementary/src/modules/test_entry/mod.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libraries/elementary/src/modules/test_entry/mod.c b/libraries/elementary/src/modules/test_entry/mod.c new file mode 100644 index 0000000..0b978e6 --- /dev/null +++ b/libraries/elementary/src/modules/test_entry/mod.c | |||
@@ -0,0 +1,36 @@ | |||
1 | #include <Elementary.h> | ||
2 | #ifdef HAVE_CONFIG_H | ||
3 | # include "elementary_config.h" | ||
4 | #endif | ||
5 | |||
6 | // module api funcs needed | ||
7 | EAPI int | ||
8 | elm_modapi_init(void *m __UNUSED__) | ||
9 | { | ||
10 | return 1; // succeed always | ||
11 | } | ||
12 | |||
13 | EAPI int | ||
14 | elm_modapi_shutdown(void *m __UNUSED__) | ||
15 | { | ||
16 | return 1; // succeed always | ||
17 | } | ||
18 | |||
19 | // module fucns for the specific module type | ||
20 | EAPI void | ||
21 | obj_hook(Evas_Object *obj) | ||
22 | { | ||
23 | printf("hook: %p\n", obj); | ||
24 | } | ||
25 | |||
26 | EAPI void | ||
27 | obj_unhook(Evas_Object *obj) | ||
28 | { | ||
29 | printf("unhook: %p\n", obj); | ||
30 | } | ||
31 | |||
32 | EAPI void | ||
33 | obj_longpress(Evas_Object *obj) | ||
34 | { | ||
35 | printf("longpress: %p\n", obj); | ||
36 | } | ||