diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-06-03 07:18:23 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-06-03 07:18:23 +0000 |
| commit | f16f239688b632fc54684c3e0e1430fd89a67db5 (patch) | |
| tree | 6a6d4f3b5d5f4974af4c3cc47c7892e46c5ef201 /src/functionread.h | |
| parent | 4f1e5849d4a48eb674d81164ba4baba4ad51a89f (diff) | |
| download | build-f16f239688b632fc54684c3e0e1430fd89a67db5.tar.gz build-f16f239688b632fc54684c3e0e1430fd89a67db5.tar.bz2 build-f16f239688b632fc54684c3e0e1430fd89a67db5.tar.xz build-f16f239688b632fc54684c3e0e1430fd89a67db5.zip | |
I added basic support for "opaque" type variables. I think there's one more
tweak to it that I would like to make, but it's fine for now. I also added
open, close, read, and write functions. They work just fine, but I'll also add
a readLine function, and maybe even a readToken function later.
Diffstat (limited to '')
| -rw-r--r-- | src/functionread.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/functionread.h b/src/functionread.h new file mode 100644 index 0000000..39bf32e --- /dev/null +++ b/src/functionread.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | #ifndef FUNCTION_READ_H | ||
| 2 | #define FUNCTION_READ_H | ||
| 3 | |||
| 4 | #include "function.h" | ||
| 5 | |||
| 6 | class FunctionRead : public Function | ||
| 7 | { | ||
| 8 | public: | ||
| 9 | FunctionRead(); | ||
| 10 | virtual ~FunctionRead(); | ||
| 11 | |||
| 12 | virtual Bu::String getName() const; | ||
| 13 | virtual Variable call( Variable &input, VarList lParams ); | ||
| 14 | |||
| 15 | }; | ||
| 16 | |||
| 17 | #endif | ||
