From fb28f6800864176be2ffca29e8e664b641f33170 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 21 Dec 2009 18:04:02 +0000 Subject: m3 is copied into trunk, we should be good to go, now. --- src/function.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/function.h (limited to 'src/function.h') diff --git a/src/function.h b/src/function.h new file mode 100644 index 0000000..9573bd3 --- /dev/null +++ b/src/function.h @@ -0,0 +1,23 @@ +#ifndef FUNCTION_H +#define FUNCTION_H + +#include "bu/fstring.h" +#include "variable.h" + +class Function +{ +public: + Function(); + virtual ~Function(); + + virtual Bu::FString getName() const=0; + + virtual Variable call( Variable &input, VarList lParams )=0; + + void setContext( class Context *p ); + +protected: + class Context *pContext; +}; + +#endif -- cgit v1.2.3