diff options
Diffstat (limited to 'kitchensync/libqopensync/member.h')
-rw-r--r-- | kitchensync/libqopensync/member.h | 21 |
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; }; |