diff --git a/src/ListManagerDummy.cc b/src/ListManagerDummy.cc deleted file mode 100644 index 2399c36..0000000 --- a/src/ListManagerDummy.cc +++ /dev/null @@ -1,48 +0,0 @@ -#include "ListManagerDummy.hh" -//#include "status_to_string.hh" - -#include "pEpLog.hh" - -namespace pEp { - - void ListManagerDummy::create( - pEp_identity *group_identity, - pEp_identity *manager, - identity_list *memberlist) - { - pEpLog("called"); - } - - void ListManagerDummy::dissolve(pEp_identity *group_identity) - { - pEpLog("called"); - } - - void ListManagerDummy::join(pEp_identity *group_identity, pEp_identity *as_member) - { - pEpLog("called"); - } - - void ListManagerDummy::remove_member(pEp_identity *group_identity, pEp_identity *group_member) - { - pEpLog("called"); - } - - identity_list *ListManagerDummy::groups() - { - pEpLog("called"); - return NULL; - } - - pEp_identity *ListManagerDummy::manager(const pEp_identity *const group) - { - pEpLog("called"); - return NULL; - } - - identity_list *ListManagerDummy::members(const pEp_identity *const group) - { - pEpLog("called"); - return NULL; - } -} // namespace pEp diff --git a/src/ListManagerDummy.hh b/src/ListManagerDummy.hh deleted file mode 100644 index e69fe9a..0000000 --- a/src/ListManagerDummy.hh +++ /dev/null @@ -1,29 +0,0 @@ -// This file is under GNU General Public License 3.0 -// see LICENSE.txt -#ifndef LIBPEPADAPTER_LISTMANAGERDUMMY_HH -#define LIBPEPADAPTER_LISTMANAGERDUMMY_HH - -#include "ListManagerInterface.hh" - -namespace pEp { - class ListManagerDummy : public ListManagerInterface { - public: - // update functions - // Group create/destroy - void create(pEp_identity *group_identity, pEp_identity *manager, identity_list *memberlist) override; - void dissolve(pEp_identity *group_identity) override; - - // Members create/destroy - void join(pEp_identity *group_identity, pEp_identity *as_member) override; - void remove_member(pEp_identity *group_identity, pEp_identity *group_member) override; - - // query functions - identity_list *groups() override; - pEp_identity *manager(const pEp_identity *const group) override; - identity_list *members(const pEp_identity *const group) override; - - private: - }; -} // namespace pEp - -#endif // LIBPEPADAPTER_LISTMANAGERDUMMY_HH diff --git a/src/ListManagerInterface.hh b/src/ListManagerInterface.hh deleted file mode 100644 index 9134234..0000000 --- a/src/ListManagerInterface.hh +++ /dev/null @@ -1,33 +0,0 @@ -// This file is under GNU General Public License 3.0 -// see LICENSE.txt - -#ifndef LIBPEPADAPTER_LISTMANAGERINTERFACE_HH -#define LIBPEPADAPTER_LISTMANAGERINTERFACE_HH - -#include - -namespace pEp { - class ListManagerInterface { - public: - // update functions - // Group create/destroy - virtual void create( - pEp_identity *group_identity, - pEp_identity *manager, - identity_list *memberlist) = 0; - virtual void dissolve(pEp_identity *group_identity) = 0; - - // Members create/destroy - virtual void join(pEp_identity *group_identity, pEp_identity *as_member) = 0; - virtual void remove_member(pEp_identity *group_identity, pEp_identity *group_member) = 0; - - // query functions - virtual identity_list *groups() = 0; - virtual pEp_identity *manager(const pEp_identity *const group) = 0; - virtual identity_list *members(const pEp_identity *const group) = 0; - - private: - }; -} // namespace pEp - -#endif // LIBPEPADAPTER_LISTMANAGERINTERFACE_HH