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