xref: /haiku/src/apps/debugger/user_interface/gui/value/value_handlers/FloatValueHandler.h (revision aa3083e086e5a929c061c72983e09d916c548a38)
1 /*
2  * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef FLOAT_VALUE_HANDLER_H
6 #define FLOAT_VALUE_HANDLER_H
7 
8 
9 #include "ValueHandler.h"
10 
11 
12 class FloatValueHandler : public ValueHandler {
13 public:
14 								FloatValueHandler();
15 								~FloatValueHandler();
16 
17 			status_t			Init();
18 
19 	virtual	float				SupportsValue(Value* value);
20 	virtual	status_t			GetValueFormatter(Value* value,
21 									ValueFormatter*& _formatter);
22 	virtual	status_t			GetTableCellValueRenderer(Value* value,
23 									TableCellValueRenderer*& _renderer);
24 	virtual	status_t			GetTableCellValueEditor(Value* value,
25 									Settings* settings,
26 									TableCellValueEditor*& _editor);
27 };
28 
29 
30 #endif	// FLOAT_VALUE_HANDLER_H
31