diff options
author | Olliver Schinagl <oliver@schinagl.nl> | 2016-03-11 08:37:03 (GMT) |
---|---|---|
committer | Olliver Schinagl <oliver@schinagl.nl> | 2016-03-18 20:46:27 (GMT) |
commit | 20125eb2f12876740befb7d8a14b46710e88ab6f (patch) | |
tree | f3c81c9473d0f39062dd3be447b8a6ca7350b936 | |
parent | 6c119ae1e935646f7366f3f6d438a125dcbe1f98 (diff) | |
download | engagement-master.zip engagement-master.tar.gz engagement-master.tar.bz2 |
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
-rw-r--r-- | src/lib/engagement.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/engagement.c b/src/lib/engagement.c index 1ebb659..6240dbf 100644 --- a/src/lib/engagement.c +++ b/src/lib/engagement.c @@ -9,6 +9,7 @@ # include "config.h" #endif +#include <engagement/plugin.h> #include <Eina.h> #include "engagement.h" @@ -66,5 +67,14 @@ EAPI int engagement_shutdown(void) EAPI void engagement_library_call(void) { - INF("Not really doing anything useful."); + struct plugin *plugin; + + INF("Not really doing anything useful."); + /* XXX just added these functions to test the libray stuff */ + plugin = plugin_load("src/plugins/.libs/libcalendar_ical.so"); + if (!plugin) { + fprintf(stderr, "Unable to load plugin\n"); + return; + } + plugin_unload(plugin); } |