aboutsummaryrefslogtreecommitdiff
path: root/src/string.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-08-14 07:12:29 +0000
committerMike Buland <eichlan@xagasoft.com>2010-08-14 07:12:29 +0000
commit1b797548dff7e2475826ba29a71c3f496008988f (patch)
tree2a81ee2e8fa2f17fd95410aabbf44533d35a727a /src/string.h
downloadlibgats-1b797548dff7e2475826ba29a71c3f496008988f.tar.gz
libgats-1b797548dff7e2475826ba29a71c3f496008988f.tar.bz2
libgats-1b797548dff7e2475826ba29a71c3f496008988f.tar.xz
libgats-1b797548dff7e2475826ba29a71c3f496008988f.zip
libgats gets it's own repo. The rest of the history is in my misc repo.
Diffstat (limited to 'src/string.h')
-rw-r--r--src/string.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/string.h b/src/string.h
new file mode 100644
index 0000000..5343ba8
--- /dev/null
+++ b/src/string.h
@@ -0,0 +1,26 @@
1#ifndef GATS_STRING_H
2#define GATS_STRING_H
3
4#include "gats/object.h"
5#include <bu/fstring.h>
6
7namespace Gats
8{
9 class String : public Gats::Object, public Bu::FString
10 {
11 public:
12 String();
13 String( const String &s );
14 String( const Bu::FString &s );
15 virtual ~String();
16
17 virtual Type getType() const { return typeString; }
18
19 virtual void write( Bu::Stream &rOut ) const;
20 virtual void read( Bu::Stream &rIn, char cType );
21
22 private:
23 };
24};
25
26#endif