summaryrefslogtreecommitdiffabout
path: root/pluginqtopiakabc/qtopiaaddressbookplugin.h
Side-by-side diff
Diffstat (limited to 'pluginqtopiakabc/qtopiaaddressbookplugin.h') (more/less context) (show whitespace changes)
-rw-r--r--pluginqtopiakabc/qtopiaaddressbookplugin.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/pluginqtopiakabc/qtopiaaddressbookplugin.h b/pluginqtopiakabc/qtopiaaddressbookplugin.h
new file mode 100644
index 0000000..d197840
--- a/dev/null
+++ b/pluginqtopiakabc/qtopiaaddressbookplugin.h
@@ -0,0 +1,24 @@
+#ifndef QTOPIA_ADDRESS_BOOK_PLUGIN_H
+#define QTOPIA_ADDRESS_BOOK_PLUGIN_H
+#include <qpe/pim/addressbookaccess.h>
+#include <kabc/koaddressbookinterface.h>
+#include <kabc/addressee.h>
+
+
+class QtopiaAddressBookPlugin : public KOAddressBookInterface {
+
+ public:
+ QtopiaAddressBookPlugin();
+ virtual ~QtopiaAddressBookPlugin();
+ QString name();
+ KABC::Addressee::List getAddressees();
+ QRESULT queryInterface( const QUuid&, QUnknownInterface** );
+ Q_REFCOUNT
+
+ protected:
+ ulong ref;
+ private:
+ AddressBookAccess *access;
+};
+#endif
+