btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / debugger / value / TypeHandler.h
blob01c4444937c96125ccb7858fd5139daea2e614c0
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
9 #include <Referenceable.h>
12 class Type;
13 class ValueNode;
14 class ValueNodeChild;
17 class TypeHandler : public BReferenceable {
18 public:
19 virtual ~TypeHandler();
21 virtual float SupportsType(Type* type) = 0;
22 virtual status_t CreateValueNode(ValueNodeChild* nodeChild,
23 Type* type, ValueNode*& _node) = 0;
24 // returns a reference
28 #endif // TYPE_HANDLER_H