4 Commits

Author SHA1 Message Date
Peter Powell
18678c6a22 Add ParamMode::IsParameterSecret and remove special casing of keys. 2019-01-28 17:26:15 +00:00
Peter Powell
8ec9a73a91 Fix ParamModeBase::OnUnset() not being virtual.
Closes #1536.
2018-12-16 01:41:47 +00:00
Attila Molnar
4fc2f7199e Specify which Extensible subclass an ExtensionItem is valid for 2015-01-18 10:40:33 +01:00
Attila Molnar
0556720b55 Add ParamModeBase and ParamMode, change all parameter modes to inherit from ParamMode
- Type of the extension used to store data is a template parameter
- The extension is automatically unset when the mode is unset
- Handlers inheriting from ParamMode have to provide OnSet() and SerializeParam(); may optionally provide OnUnset()
- Transparently handle the case when OnSet() modifies the mode parameter
- Remove Channel::custom_mode_params map; ask the mode handlers to serialize their parameters instead
2014-02-15 14:38:24 +01:00