/*
   winLAME - a frontend for the LAME encoding engine
   Copyright (c) 2000-2008 Michael Fink

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

   $Id: wlSettingsManager.h,v 1.11 2008/02/26 19:47:24 vividos Exp $

*/
/*! \file wlSettingsManager.h

   \brief wlSettingsManagerInterface is an interface for encoder settings management

*/
/*! \defgroup settings Settings Management

   contains all classes and functions that have to do with settings management

*/
/*! \ingroup settings */
/*! @{ */

// prevent multiple including
#ifndef __wlsettingsmanager_h_
#define __wlsettingsmanager_h_

// needed includes
#include <map>
#include "wlVariableManager.h"


//! settings list type
typedef std::map<unsigned int,int> wlSettingsList;


//! manages settings for encoding
class wlSettingsManager
{
public:
   //! ctor
   wlSettingsManager(){}

   //! returns variable
   int queryValueInt(unsigned short name);

   //! sets new variable value
   void setValue(unsigned short name, int val);

protected:
   //! map with settings
   wlSettingsList settings;

   //! variable manager for variables
   wlVarMgrVariables mgr_vars;
};


//@}

#endif
