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