vfs: check userland buffers before reading them.
[haiku.git] / src / apps / debugger / user_interface / gui / value / TableCellEnumerationEditor.h
blob94808a454eae69e1d8cc058020a4197972217c65
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
8 #include <TextControl.h>
10 #include "TableCellOptionPopUpEditor.h"
13 class TableCellEnumerationEditor : public TableCellOptionPopUpEditor {
14 public:
15 TableCellEnumerationEditor(
16 ::Value* initialValue,
17 ValueFormatter* formatter);
18 virtual ~TableCellEnumerationEditor();
20 virtual status_t ConfigureOptions();
22 protected:
23 virtual status_t GetSelectedValue(::Value*& _value) const;
26 #endif // TABLE_CELL_ENUMERATION_EDITOR_H