xref: /haiku/src/apps/debugger/user_interface/gui/value/TableCellFloatEditor.h (revision 1e60bdeab63fa7a57bc9a55b032052e95a18bd2c)
1 /*
2  * Copyright 2015, Rene Gollent, rene@gollent.com.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef TABLE_CELL_FLOAT_EDITOR_H
6 #define TABLE_CELL_FLOAT_EDITOR_H
7 
8 #include <TextControl.h>
9 
10 #include "TableCellTextControlEditor.h"
11 
12 
13 class TableCellFloatEditor : public TableCellTextControlEditor {
14 public:
15 								TableCellFloatEditor(::Value* initialValue,
16 									ValueFormatter* formatter);
17 	virtual						~TableCellFloatEditor();
18 
19 	virtual	bool				ValidateInput() const;
20 
21 	virtual status_t			GetValueForInput(::Value*& _output) const;
22 									// returns reference
23 };
24 
25 #endif	// TABLE_CELL_INTEGER_EDITOR_H
26