File diff r26193:4bc7915a2156 → r26194:f7347205838e
src/table/settings/currency_settings.ini
Show inline comments
 
@@ -8,14 +8,14 @@
 

	
 
[pre-amble]
 
static const SettingVariant _currency_settings_table[] = {
 
[post-amble]
 
};
 
[templates]
 
SDT_VAR  = SDT_VAR (CurrencySpec, $var, $type, $flags, $def, $min, $max, $interval, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
 
SDT_SSTR = SDT_SSTR(CurrencySpec, $var, $type, $flags, $def,                                                 $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
 
SDT_VAR  = SDT_VAR (CurrencySpec, $var, $type, $flags, $def, $min, $max, $interval, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup, $extver),
 
SDT_SSTR = SDT_SSTR(CurrencySpec, $var, $type, $flags, $def,                                                 $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup, $extver),
 

	
 
[validation]
 
SDT_VAR = static_assert($max <= MAX_$type, "Maximum value for CurrencySpec.$var exceeds storage size");
 

	
 
[defaults]
 
flags    = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
 
@@ -28,12 +28,13 @@ post_cb  = nullptr
 
load     = nullptr
 
from     = SL_MIN_VERSION
 
to       = SL_MAX_VERSION
 
cat      = SC_ADVANCED
 
extra    = 0
 
startup  = false
 
extver   = SlXvFeatureTest()
 

	
 

	
 
[SDT_VAR]
 
var      = rate
 
type     = SLE_UINT16
 
def      = 1