summaryrefslogtreecommitdiff
path: root/modules/chanserv/main/level.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2015-12-14 16:52:24 -0500
committerAdam <Adam@anope.org>2015-12-14 16:52:24 -0500
commit6302f980fe6dad83aab7d2dc1046dadea5ffd939 (patch)
tree4c27d33f55fc32ce34827977932dac4b3e5ceedd /modules/chanserv/main/level.h
parent64dac60071fab652745a6e7a06cf6b7bdbbd3625 (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.h16
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 &);
+};