1/*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef TYPE_HANDLER_H
6#define TYPE_HANDLER_H
7
8
9#include <Referenceable.h>
10
11
12class Type;
13class ValueNode;
14class ValueNodeChild;
15
16
17class TypeHandler : public BReferenceable {
18public:
19	virtual						~TypeHandler();
20
21	virtual	float				SupportsType(Type* type) = 0;
22	virtual	status_t			CreateValueNode(ValueNodeChild* nodeChild,
23									Type* type, ValueNode*& _node) = 0;
24									// returns a reference
25};
26
27
28#endif	// TYPE_HANDLER_H
29