diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/hashcomp.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h index 69fa677b8..dde123acb 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -123,6 +123,17 @@ namespace irc bool operator()(const insp_inaddr &s1, const insp_inaddr &s2) const; }; + class modestacker + { + private: + std::deque<std::string> sequence; + bool adding; + public: + modestacker(bool add); + void Push(char modeletter, const std::string ¶meter); + std::deque<std::string> GetStackedLine(); + }; + /** irc::tokenstream reads a string formatted as per RFC1459 and RFC2812. * It will split the string into 'tokens' each containing one parameter * from the string. |