summaryrefslogtreecommitdiff
path: root/include/snomasks.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/snomasks.h')
-rw-r--r--include/snomasks.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/snomasks.h b/include/snomasks.h
index ab8980c26..a6ee0d050 100644
--- a/include/snomasks.h
+++ b/include/snomasks.h
@@ -19,18 +19,26 @@
#include <string>
#include <vector>
+#include <map>
#include "configreader.h"
#include "inspircd.h"
+typedef std::map<char, std::string> SnoList;
+
class SnomaskManager : public Extensible
{
private:
InspIRCd* ServerInstance;
+ SnoList SnoMasks;
public:
SnomaskManager(InspIRCd* Instance);
~SnomaskManager();
-
+ bool EnableSnomask(char letter, const std::string &description);
+ bool DisableSnomask(char letter);
+ void WriteToSnoMask(char letter, const std::string &text);
+ void WriteToSnoMask(char letter, const char* text, ...);
+ bool IsEnabled(char letter);
};
#endif