aboutsummaryrefslogtreecommitdiff
path: root/src/function.h
blob: 1575bfd2f323d953c1263f76f0ee6b2a4f548129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef FUNCTION_H
#define FUNCTION_H

#include "bu/string.h"
#include "variable.h"

class Function
{
public:
	Function();
	virtual ~Function();

	virtual Bu::String getName() const=0;

	virtual Variable call( Variable &input, VarList lParams )=0;

	void setContext( class Context *p );

protected:
	class Context *pContext;
};

#endif