summaryrefslogtreecommitdiffabout
path: root/libkabcwrap/koaddressbookpluginloader.h
Side-by-side diff
Diffstat (limited to 'libkabcwrap/koaddressbookpluginloader.h') (more/less context) (show whitespace changes)
-rw-r--r--libkabcwrap/koaddressbookpluginloader.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/libkabcwrap/koaddressbookpluginloader.h b/libkabcwrap/koaddressbookpluginloader.h
new file mode 100644
index 0000000..0182b29
--- a/dev/null
+++ b/libkabcwrap/koaddressbookpluginloader.h
@@ -0,0 +1,18 @@
+#ifndef KO_ADDRESS_BOOK_PLUGIN_LOADER_H
+#define KO_ADDRESS_BOOK_PLUGIN_LOADER_H
+
+#include "addressee.h"
+#include "koaddressbookinterface.h"
+
+class KOAddressBookPluginLoader {
+
+ public:
+ static KOAddressBookInterface *getInterface();
+ static KABC::Addressee::List getAddresseesFromPlugin();
+
+ private:
+ static KOAddressBookInterface *iface;
+ static KABC::Addressee::List addresseeList;
+};
+
+#endif