summaryrefslogtreecommitdiff
path: root/src/userfunction.h
blob: 67b96cc0452c3b1c41d89a5e5775d50d2cc2eb69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef USER_FUNCTION_H
#define USER_FUNCTION_H

#include "function.h"

class AstNode;

class UserFunction : public Function
{
public:
	UserFunction( const Bu::String &sName, const AstNode &anRoot );
	virtual ~UserFunction();

	virtual Bu::String getName() const;
	virtual Variable call( const VariableList &lParams );

private:
	Bu::String sName;
};

#endif