diff options
| author | Adam <Adam@anope.org> | 2015-12-14 16:52:24 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2015-12-14 16:52:24 -0500 |
| commit | 6302f980fe6dad83aab7d2dc1046dadea5ffd939 (patch) | |
| tree | 4c27d33f55fc32ce34827977932dac4b3e5ceedd /modules/chanserv/main/mode.h | |
| parent | 64dac60071fab652745a6e7a06cf6b7bdbbd3625 (diff) | |
New source tree structure for modules. From commands/cs_access => chanserv/access etc.
Diffstat (limited to 'modules/chanserv/main/mode.h')
| -rw-r--r-- | modules/chanserv/main/mode.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/chanserv/main/mode.h b/modules/chanserv/main/mode.h new file mode 100644 index 000000000..cd94e5ad1 --- /dev/null +++ b/modules/chanserv/main/mode.h @@ -0,0 +1,17 @@ + +class ModeImpl : public ChanServ::Mode +{ + public: + ModeImpl(Serialize::TypeBase *type) : ChanServ::Mode(type) { } + ModeImpl(Serialize::TypeBase *type, Serialize::ID id) : ChanServ::Mode(type, id) { } + + ChanServ::Channel *GetChannel() override; + void SetChannel(ChanServ::Channel *) override; + + Anope::string GetMode() override; + void SetMode(const Anope::string &) override; + + Anope::string GetParam() override; + void SetParam(const Anope::string &) override; +}; + |
