btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / debugger / user_interface / gui / value / TableCellValueRenderer.h
blobf943c7ec38026a3caa0f34ad877a927c9173087a
1 /*
2 * Copyright 2014, Rene Gollent, rene@gollent.com.
3 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
4 * Distributed under the terms of the MIT License.
5 */
6 #ifndef TABLE_CELL_VALUE_RENDERER_H
7 #define TABLE_CELL_VALUE_RENDERER_H
10 #include <Rect.h>
12 #include <Referenceable.h>
15 class BView;
16 class Settings;
17 class Value;
20 class TableCellValueRenderer : public BReferenceable {
21 public:
22 virtual ~TableCellValueRenderer();
24 virtual Settings* GetSettings() const;
25 // returns NULL, if no settings
27 virtual void RenderValue(Value* value, bool valueChanged,
28 BRect rect, BView* targetView) = 0;
29 virtual float PreferredValueWidth(Value* value,
30 BView* targetView) = 0;
34 #endif // TABLE_CELL_VALUE_RENDERER_H