2008-01-14 01:01:11 +01:00
|
|
|
/*
|
2008-01-18 16:43:53 +01:00
|
|
|
ConfigRules - interface for rule based configuration
|
2008-01-14 01:01:11 +01:00
|
|
|
|
2008-03-10 04:25:03 +01:00
|
|
|
Copyright (C) Lumiera.org
|
|
|
|
|
2008, Hermann Vosseler <Ichthyostega@web.de>
|
2008-01-14 01:01:11 +01:00
|
|
|
|
|
|
|
|
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., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
|
|
|
|
|
* *****************************************************/
|
|
|
|
|
|
|
|
|
|
|
2008-01-18 16:43:53 +01:00
|
|
|
#include "common/configrules.hpp"
|
2008-01-19 14:24:24 +01:00
|
|
|
#include "common/query/mockconfigrules.hpp"
|
2008-01-18 16:43:53 +01:00
|
|
|
//#include "common/util.hpp"
|
2008-01-14 01:01:11 +01:00
|
|
|
#include "nobugcfg.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-03-10 08:38:59 +01:00
|
|
|
namespace lumiera
|
2008-01-14 01:01:11 +01:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
namespace query
|
|
|
|
|
{
|
|
|
|
|
|
2008-03-10 08:38:59 +01:00
|
|
|
LUMIERA_ERROR_DEFINE (CAPABILITY_QUERY, "unresolvable capability query");
|
2008-01-28 06:05:46 +01:00
|
|
|
|
2008-01-29 05:39:32 +01:00
|
|
|
|
2008-02-01 15:35:33 +01:00
|
|
|
|
2008-01-14 01:01:11 +01:00
|
|
|
} // namespace query
|
2008-02-01 15:35:33 +01:00
|
|
|
|
|
|
|
|
namespace
|
|
|
|
|
{
|
|
|
|
|
/** type of the actual ConfigRules implementation to use */
|
|
|
|
|
singleton::UseSubclass<query::MockConfigRules> typeinfo;
|
|
|
|
|
}
|
2008-01-14 01:01:11 +01:00
|
|
|
|
2008-02-01 15:35:33 +01:00
|
|
|
|
|
|
|
|
/** Singleton factory instance, parametrized to actual impl. type. */
|
|
|
|
|
SingletonSub<ConfigRules> ConfigRules::instance (typeinfo);
|
2008-01-14 01:01:11 +01:00
|
|
|
|
|
|
|
|
|
2008-03-10 08:38:59 +01:00
|
|
|
} // namespace lumiera
|