xref: /haiku/src/apps/debugger/user_interface/gui/value/TableCellFormattedValueEditor.h (revision 4bd0c1066b227cec4b79883bdef697c7a27f2e90)
1 /*
2  * Copyright 2015, Rene Gollent, rene@gollent.com.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef TABLE_CELL_FORMATTED_VALUE_EDITOR_H
6 #define TABLE_CELL_FORMATTED_VALUE_EDITOR_H
7 
8 #include "TableCellValueEditor.h"
9 
10 
11 class ValueFormatter;
12 
13 
14 class TableCellFormattedValueEditor : public TableCellValueEditor {
15 public:
16 								TableCellFormattedValueEditor(
17 									Value* initialValue,
18 									ValueFormatter* formatter);
19 	virtual						~TableCellFormattedValueEditor();
20 
21 protected:
22 			ValueFormatter*		GetValueFormatter() const
23 									{ return fValueFormatter; }
24 
25 private:
26 			ValueFormatter*		fValueFormatter;
27 };
28 
29 
30 #endif	// TABLE_CELL_FORMATTED_VALUE_EDITOR_H
31