summaryrefslogtreecommitdiffstats
path: root/kitchensync/libqopensync/member.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-07 22:30:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-07 22:30:29 +0000
commitd8b40941f9d1a221add0b9094eb09405a91a8aab (patch)
tree0b8e9b6347f6e75925bb3c386a47c5300b1a4775 /kitchensync/libqopensync/member.h
parent009631d0fc83f471d6c515e2a5001337a5a2ea21 (diff)
downloadtdepim-d8b40941f9d1a221add0b9094eb09405a91a8aab.tar.gz
tdepim-d8b40941f9d1a221add0b9094eb09405a91a8aab.zip
Part 2/2 of Chakra patch commit
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1172727 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kitchensync/libqopensync/member.h')
-rw-r--r--kitchensync/libqopensync/member.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/kitchensync/libqopensync/member.h b/kitchensync/libqopensync/member.h
index 294c19f15..215b0b148 100644
--- a/kitchensync/libqopensync/member.h
+++ b/kitchensync/libqopensync/member.h
@@ -22,19 +22,21 @@
#ifndef QSYNC_MEMBER_H
#define QSYNC_MEMBER_H
-#include <libqopensync/plugin.h>
-#include <libqopensync/result.h>
-#include <libqopensync/plugin.h>
+#include <tqstring.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();
@@ -56,11 +58,6 @@ class Member
TQString pluginName() const;
/**
- Returns the plugin, the member belongs to.
- */
- Plugin plugin() const;
-
- /**
Returns the id of the plugin.
*/
int id() const;
@@ -102,7 +99,7 @@ class Member
/**
Make this member an instance of the given plugin.
*/
- Result instance( const Plugin & );
+ Result instance();
bool operator==( const Member& ) const;
@@ -119,6 +116,12 @@ class Member
*/
bool testConnection( const TQString &configuration );
+
+ /**
+ * Deletes the member's information from the hard disc.
+ */
+ Result cleanup() const;
+
private:
OSyncMember *mMember;
};