xref: /haiku/src/apps/debugger/user_interface/gui/value/TableCellEnumerationEditor.h (revision 97dfeb96704e5dbc5bec32ad7b21379d0125e031)
1 /*
2  * Copyright 2015, Rene Gollent, rene@gollent.com.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef TABLE_CELL_ENUMERATION_EDITOR_H
6 #define TABLE_CELL_ENUMERATION_EDITOR_H
7 
8 #include <TextControl.h>
9 
10 #include "TableCellOptionPopUpEditor.h"
11 
12 
13 class TableCellEnumerationEditor : public TableCellOptionPopUpEditor {
14 public:
15 								TableCellEnumerationEditor(
16 									::Value* initialValue,
17 									ValueFormatter* formatter);
18 	virtual						~TableCellEnumerationEditor();
19 
20 	virtual	status_t			ConfigureOptions();
21 
22 protected:
23 	virtual	status_t			GetSelectedValue(::Value*& _value) const;
24 };
25 
26 #endif	// TABLE_CELL_ENUMERATION_EDITOR_H
27