From 0be032c6998e712dc2c9f2ed97c3491d89eb05af Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Fri, 31 Jan 2020 17:16:27 +0300 Subject: [xift] Almost done. --- src/str.hpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/str.hpp (limited to 'src/str.hpp') diff --git a/src/str.hpp b/src/str.hpp new file mode 100644 index 0000000..fbedb28 --- /dev/null +++ b/src/str.hpp @@ -0,0 +1,21 @@ +#ifndef XIFT_INCLUDED_STRING +#define XIFT_INCLUDED_STRING + +#include "exporter.hpp" + + +class XiftString: public XiftExporter { +public: + XiftString(char *&str); + + void Put(char c); + void Put(const char *addon); + +private: + char *&str; + int len; + int size; +}; + + +#endif -- cgit v1.2.3