summaryrefslogtreecommitdiffstats
path: root/kitchensync/libqopensync/member.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-08 01:37:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-08 01:37:34 +0000
commitd4f48636cc2631625434326e146d04f503d0247a (patch)
treea371a2337bddce3de3fa3fcac52275a8204570d9 /kitchensync/libqopensync/member.h
parentd8b40941f9d1a221add0b9094eb09405a91a8aab (diff)
downloadtdepim-d4f48636cc2631625434326e146d04f503d0247a.tar.gz
tdepim-d4f48636cc2631625434326e146d04f503d0247a.zip
Reverse OpenSync patch as it causes a build failure on Debian
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1172771 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kitchensync/libqopensync/member.h')
-rw-r--r--kitchensync/libqopensync/member.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/kitchensync/libqopensync/member.h b/kitchensync/libqopensync/member.h
index 215b0b148..294c19f15 100644
--- a/kitchensync/libqopensync/member.h
+++ b/kitchensync/libqopensync/member.h
@@ -22,21 +22,19 @@
#ifndef QSYNC_MEMBER_H
#define QSYNC_MEMBER_H
-#include <tqstring.h>
+#include <libqopensync/plugin.h>
+#include <libqopensync/result.h>
+#include <libqopensync/plugin.h>
class OSyncMember;
namespace QSync {
-class Result;
-
class Member
{
friend class Group;
- friend class Engine;
friend class SyncChange;
friend class SyncMemberUpdate;
- friend class SyncChangeUpdate;
public:
Member();
@@ -58,6 +56,11 @@ class Member
TQString pluginName() const;
/**
+ Returns the plugin, the member belongs to.
+ */
+ Plugin plugin() const;
+
+ /**
Returns the id of the plugin.
*/
int id() const;
@@ -99,7 +102,7 @@ class Member
/**
Make this member an instance of the given plugin.
*/
- Result instance();
+ Result instance( const Plugin & );
bool operator==( const Member& ) const;
@@ -116,12 +119,6 @@ class Member
*/
bool testConnection( const TQString &configuration );
-
- /**
- * Deletes the member's information from the hard disc.
- */
- Result cleanup() const;
-
private:
OSyncMember *mMember;
};