X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/3e32eb8e48a56bca543faa522909d3d83538c55d..9701b7ab4dc4cd709ad4dcaa750fc0021f15e231:/include/module_settings.h?ds=sidebyside diff --git a/include/module_settings.h b/include/module_settings.h deleted file mode 100644 index a1baf33c..00000000 --- a/include/module_settings.h +++ /dev/null @@ -1,51 +0,0 @@ - /* - $Revision: 1.5 $ - $Date: 2010/03/04 11:49:52 $ - $Author: faust $ - */ - -#ifndef MODULE_SETTINGS_H -#define MODULE_SETTINGS_H - -#include // strcasecmp -#include -#include - -//----------------------------------------------------------------------------- -struct PARAM_VALUE -{ - PARAM_VALUE() - : param(), - value() - {} - bool operator==(const PARAM_VALUE & rhs) const - { return !strcasecmp(param.c_str(), rhs.param.c_str()); } - - bool operator<(const PARAM_VALUE & rhs) const - { return strcasecmp(param.c_str(), rhs.param.c_str()) < 0; } - - std::string param; - std::vector value; -}; -//----------------------------------------------------------------------------- -struct MODULE_SETTINGS -{ - MODULE_SETTINGS() - : moduleName(), - moduleParams() - {} - MODULE_SETTINGS(const MODULE_SETTINGS & rvalue) - : moduleName(rvalue.moduleName), - moduleParams(rvalue.moduleParams) - {} - bool operator==(const MODULE_SETTINGS & rhs) const - { return !strcasecmp(moduleName.c_str(), rhs.moduleName.c_str()); } - - bool operator<(const MODULE_SETTINGS & rhs) const - { return strcasecmp(moduleName.c_str(), rhs.moduleName.c_str()) < 0; } - - std::string moduleName; - std::vector moduleParams; -}; -//----------------------------------------------------------------------------- -#endif