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
11class ValueFormatter;
12
13
14class TableCellFormattedValueEditor : public TableCellValueEditor {
15public:
16								TableCellFormattedValueEditor(
17									Value* initialValue,
18									ValueFormatter* formatter);
19	virtual						~TableCellFormattedValueEditor();
20
21protected:
22			ValueFormatter*		GetValueFormatter() const
23									{ return fValueFormatter; }
24
25private:
26			ValueFormatter*		fValueFormatter;
27};
28
29
30#endif	// TABLE_CELL_FORMATTED_VALUE_EDITOR_H
31