diff options
author | Adam <Adam@anope.org> | 2014-05-28 12:29:37 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-05-28 12:29:37 -0400 |
commit | 0dba0692f9f88275b7d89d511bf22124217bc4c6 (patch) | |
tree | f7f7d0672f31ab37a7b15b128a29d454261e8541 /include/modules/cs_mode.h | |
parent | f97e339314257fa37cfcab0c2289fb6812e32e85 (diff) |
Mark pure virtual functions with anope_abstract
Diffstat (limited to 'include/modules/cs_mode.h')
-rw-r--r-- | include/modules/cs_mode.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/modules/cs_mode.h b/include/modules/cs_mode.h index 61ef93f95..b44744b87 100644 --- a/include/modules/cs_mode.h +++ b/include/modules/cs_mode.h @@ -35,7 +35,7 @@ struct ModeLocks * @param status True to check mlock on, false for mlock off * @return true on success, false on fail */ - virtual bool HasMLock(ChannelMode *mode, const Anope::string ¶m, bool status) const = 0; + virtual bool HasMLock(ChannelMode *mode, const Anope::string ¶m, bool status) const anope_abstract; /** Set a mlock * @param mode The mode @@ -45,7 +45,7 @@ struct ModeLocks * @param created When the mlock was created * @return true on success, false on failure (module blocking) */ - virtual bool SetMLock(ChannelMode *mode, bool status, const Anope::string ¶m = "", Anope::string setter = "", time_t created = Anope::CurTime) = 0; + virtual bool SetMLock(ChannelMode *mode, bool status, const Anope::string ¶m = "", Anope::string setter = "", time_t created = Anope::CurTime) anope_abstract; /** Remove a mlock * @param mode The mode @@ -53,39 +53,39 @@ struct ModeLocks * @param param The param of the mode, required if it is a list or status mode * @return true on success, false on failure */ - virtual bool RemoveMLock(ChannelMode *mode, bool status, const Anope::string ¶m = "") = 0; + virtual bool RemoveMLock(ChannelMode *mode, bool status, const Anope::string ¶m = "") anope_abstract; - virtual void RemoveMLock(ModeLock *mlock) = 0; + virtual void RemoveMLock(ModeLock *mlock) anope_abstract; /** Clear all mlocks on the channel */ - virtual void ClearMLock() = 0; + virtual void ClearMLock() anope_abstract; /** Get all of the mlocks for this channel * @return The mlocks */ - virtual const ModeList &GetMLock() const = 0; + virtual const ModeList &GetMLock() const anope_abstract; /** Get a list of mode locks on a channel * @param name The mode name to get a list of * @return a list of mlocks for the given mode */ - virtual std::list<ModeLock *> GetModeLockList(const Anope::string &name) = 0; + virtual std::list<ModeLock *> GetModeLockList(const Anope::string &name) anope_abstract; /** Get details for a specific mlock * @param mname The mode name * @param An optional param to match with * @return The MLock, if any */ - virtual const ModeLock *GetMLock(const Anope::string &mname, const Anope::string ¶m = "") = 0; + virtual const ModeLock *GetMLock(const Anope::string &mname, const Anope::string ¶m = "") anope_abstract; /** Get the current mode locks as a string * @param complete True to show mlock parameters aswell * @return A string of mode locks, eg: +nrt */ - virtual Anope::string GetMLockAsString(bool complete) const = 0; + virtual Anope::string GetMLockAsString(bool complete) const anope_abstract; - virtual void Check() = 0; + virtual void Check() anope_abstract; }; namespace Event |