summaryrefslogtreecommitdiff
path: root/src/str.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/str.hpp')
-rw-r--r--src/str.hpp21
1 files changed, 21 insertions, 0 deletions
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