summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2016-03-11 08:37:03 (GMT)
committerOlliver Schinagl <oliver@schinagl.nl>2016-03-18 20:46:27 (GMT)
commit20125eb2f12876740befb7d8a14b46710e88ab6f (patch)
treef3c81c9473d0f39062dd3be447b8a6ca7350b936
parent6c119ae1e935646f7366f3f6d438a125dcbe1f98 (diff)
downloadengagement-20125eb2f12876740befb7d8a14b46710e88ab6f.zip
engagement-20125eb2f12876740befb7d8a14b46710e88ab6f.tar.gz
engagement-20125eb2f12876740befb7d8a14b46710e88ab6f.tar.bz2
Load experimental icalendar plugin to make it executeHEADmaster
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
-rw-r--r--src/lib/engagement.c12
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);
}