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/level.h | |
| parent | 64dac60071fab652745a6e7a06cf6b7bdbbd3625 (diff) | |
New source tree structure for modules. From commands/cs_access => chanserv/access etc.
Diffstat (limited to 'modules/chanserv/main/level.h')
| -rw-r--r-- | modules/chanserv/main/level.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/chanserv/main/level.h b/modules/chanserv/main/level.h new file mode 100644 index 000000000..c9ffd0dfb --- /dev/null +++ b/modules/chanserv/main/level.h @@ -0,0 +1,16 @@ + +class LevelImpl : public ChanServ::Level +{ + public: + LevelImpl(Serialize::TypeBase *type) : ChanServ::Level(type) { } + LevelImpl(Serialize::TypeBase *type, Serialize::ID id) : ChanServ::Level(type, id) { } + + ChanServ::Channel *GetChannel(); + void SetChannel(ChanServ::Channel *); + + Anope::string GetName(); + void SetName(const Anope::string &); + + int GetLevel(); + void SetLevel(const int &); +}; |
