diff options
Diffstat (limited to 'Swiften/MUC')
-rw-r--r-- | Swiften/MUC/MUCRegistry.cpp | 8 | ||||
-rw-r--r-- | Swiften/MUC/MUCRegistry.h | 12 | ||||
-rw-r--r-- | Swiften/MUC/Makefile.inc | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/Swiften/MUC/MUCRegistry.cpp b/Swiften/MUC/MUCRegistry.cpp new file mode 100644 index 0000000..95bab08 --- /dev/null +++ b/Swiften/MUC/MUCRegistry.cpp @@ -0,0 +1,8 @@ +#include "Swiften/MUC/MUCRegistry.h" + +namespace Swift { + +MUCRegistry::~MUCRegistry() { +} + +} diff --git a/Swiften/MUC/MUCRegistry.h b/Swiften/MUC/MUCRegistry.h new file mode 100644 index 0000000..a843abb --- /dev/null +++ b/Swiften/MUC/MUCRegistry.h @@ -0,0 +1,12 @@ +#pragma once + +namespace Swift { + class JID; + + class MUCRegistry { + public: + virtual ~MUCRegistry(); + + virtual bool isMUC(const JID&) const = 0; + }; +} diff --git a/Swiften/MUC/Makefile.inc b/Swiften/MUC/Makefile.inc index d97b9fa..dc47d97 100644 --- a/Swiften/MUC/Makefile.inc +++ b/Swiften/MUC/Makefile.inc @@ -1,3 +1,4 @@ SWIFTEN_SOURCES += \ + Swiften/MUC/MUCRegistry.cpp \ Swiften/MUC/MUC.cpp \ Swiften/MUC/MUCOccupant.cpp |