/* ====================================================================
 * Copyright (c) 2008  Martin Hauner
 *                     http://subcommander.tigris.org
 *
 * Subcommander is licensed as described in the file doc/COPYING, which
 * you should have received as part of this distribution.
 * ====================================================================
 */

#ifndef _TESTCONFIG_H
#define _TESTCONFIG_H

// sc
#include "sublib/config/Config.h"

// sys
#include <map>
typedef std::map<sc::String,sc::String> KeyValues;


/** simple Config implementation for use in test code. */ 
class TestConfig : public Config
{
public:
  // Config
  void get( ConfigValues& );
  void set( const ConfigValues& );

private:
  KeyValues _cfg;
};


#endif // _TESTCONFIG_H
