/*
 * Copyright (C) 2014-2017 Johan Henriksson.
 * All rights reserved.
 *
 * This software may be modified and distributed under the terms
 * of the BSD license.  See the LICENSE file for details.
 */

#ifndef FILE__VAR_CTL_H
#define FILE__VAR_CTL_H


#include <QString>
#include <QMap>
#include <QObject>


class VarCtl : public QObject
{
    Q_OBJECT

public:
    VarCtl(){};
    

    enum DispFormat
    {
        DISP_NATIVE = 0,
        DISP_DEC,
        DISP_BIN,
        DISP_HEX,
        DISP_CHAR,
    };
    typedef struct
    {
        DispFormat dispFormat;
        bool isExpanded;
        QString lastData;
    }DispInfo;

    typedef QMap<QString, DispInfo>  DispInfoMap;



};

#endif // FILE__VAR_CTL_H
