#ifndef __BOOLPARAMEDITOR_H
#define __BOOLPARAMEDITOR_H

/*@@@**************************************************************************
 ** \file  boolParamEditor
 * \date   Mon Apr 27 14:47:12 EDT 2009
 * \author Hernan Badino
 * \notes  
*******************************************************************************
******************************************************************************/

/* INCLUDES */
#include "baseParamEditorWidget.h"

#include "boolParam.h"

/* PROTOTYPES */
class QCheckBox;

namespace VIC
{
    /* PROTOTYPES */

    class CBoolParameterEditor : public CBaseParamEditorWidget
    {
        Q_OBJECT
    public:
        
        /// Constructors/Destructor
        CBoolParameterEditor ( CBoolParameter *  f_parameter_p,
                               QWidget        *  f_parent_p = NULL );

        virtual ~CBoolParameterEditor ();

        virtual bool updateWidget();
                             
    public slots:
        void updateParameter();

    /// Protected members
    protected:

        /// Stored value.
        QCheckBox *             m_qcb_p;

        /// Associated Bool parameter
        CBoolParameter *        m_parameter_p;
    };
}

#endif // __BOOLPARAMEDITOR_H

/* ////////////  Version History ///////////////
 *  $Log: boolParamEditor.h,v $
 *  Revision 1.2  2009/11/18 15:51:01  badino
 *  badino: documentation added. Some other global changes.
 *
 *//////////////////////////////////////////////
