aboutsummaryrefslogtreecommitdiff
path: root/src/function.h
blob: 9573bd30ee58dc0a3797616de4adc29c02270ae2 (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/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