diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/textproc.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/textproc.h b/include/textproc.h new file mode 100644 index 000000000..62c88bcb4 --- /dev/null +++ b/include/textproc.h @@ -0,0 +1,24 @@ +/* + * + * (C) 2003-2025 Anope Team + * Contact us at team@anope.org + * + * Please read COPYING and README for further details. + * + * Based on the original code of Epona by Lara. + * Based on the original code of Services by Andy Church. + */ + +#pragma once + +class TextSplitter final +{ +private: + Anope::string text; + std::vector<Anope::string> formatting; + +public: + TextSplitter(const Anope::string &t); + bool GetLine(Anope::string &out); +}; + |