root/src/apps/debugger/user_interface/gui/value/TableCellFloatEditor.h
/*
 * Copyright 2015, Rene Gollent, rene@gollent.com.
 * Distributed under the terms of the MIT License.
 */
#ifndef TABLE_CELL_FLOAT_EDITOR_H
#define TABLE_CELL_FLOAT_EDITOR_H

#include <TextControl.h>

#include "TableCellTextControlEditor.h"


class TableCellFloatEditor : public TableCellTextControlEditor {
public:
                                                                TableCellFloatEditor(::Value* initialValue,
                                                                        ValueFormatter* formatter);
        virtual                                         ~TableCellFloatEditor();

        virtual bool                            ValidateInput() const;

        virtual status_t                        GetValueForInput(::Value*& _output) const;
                                                                        // returns reference
};

#endif  // TABLE_CELL_INTEGER_EDITOR_H