From f16f239688b632fc54684c3e0e1430fd89a67db5 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 3 Jun 2011 07:18:23 +0000 Subject: 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. --- src/functionopen.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/functionopen.h (limited to 'src/functionopen.h') diff --git a/src/functionopen.h b/src/functionopen.h new file mode 100644 index 0000000..5ab3cab --- /dev/null +++ b/src/functionopen.h @@ -0,0 +1,17 @@ +#ifndef FUNCTION_OPEN_H +#define FUNCTION_OPEN_H + +#include "function.h" + +class FunctionOpen : public Function +{ +public: + FunctionOpen(); + virtual ~FunctionOpen(); + + virtual Bu::String getName() const; + virtual Variable call( Variable &input, VarList lParams ); + +}; + +#endif -- cgit v1.2.3