InspIRCd Robot
ae3e2db109
Update copyright headers.
2024-06-07 10:37:56 +01:00
Sadie Powell
8389fbba6d
Replace ModeAction with bool.
...
This enum is functionally the same as bool but with weird semantics.
2023-01-22 22:52:30 +00:00
Sadie Powell
44986c7976
Use auto instead of type names where the type is obvious.
2022-09-29 12:54:24 +01:00
Sadie Powell
8656e9cce1
Replace duplicated documentation with @copydoc.
2022-04-16 09:38:34 +01:00
Sadie Powell
d79147e7af
Abolish the infernal space before accessibility keywords.
2022-01-25 14:02:36 +00:00
Sadie Powell
9fafbf633b
Make all extensibles use kebab-case for names where possible.
2021-12-26 00:40:53 +00:00
Sadie Powell
6282e1f287
Promote ExtensionItem::ExtensibleType to a top level enum class.
2021-12-23 21:34:53 +00:00
Sadie Powell
421e8c8c79
Add the final keyword to all remaining classes that can have it.
2021-12-20 20:19:40 +00:00
Sadie Powell
3ca912ad71
Merge branch 'insp3' into master.
2021-05-11 04:07:45 +01:00
Sadie Powell
b4a174ee9c
Fix a bunch of weird indentation and spacing issues.
2021-04-27 16:41:14 +01:00
Sadie Powell
49702c621e
Convert various mode methods to take Mode::Change.
...
- AccessCheck
- AfterMode
- BeforeMode
- OnModeChange
- OnRawMode
2021-03-30 18:25:55 +01:00
Sadie Powell
9ad9a668d5
Pascalize Unset in extension item classes.
2021-03-17 06:15:48 +00:00
Sadie Powell
59ee026b3b
Pascalize Get in extension item classes.
2021-03-17 05:58:47 +00:00
Sadie Powell
1de6f5b4a9
Merge branch 'insp3' into master.
2020-01-17 12:36:09 +00:00
InspIRCd Robot
aa692dc103
Update copyright headers.
2020-01-11 22:14:43 +00:00
Sadie Powell
21664767f0
Move the Module parameter of ExtensionItem et al to the start.
...
This matches what other ServiceProvider types do.
2019-08-13 17:36:19 +01:00
Sadie Powell
bfa5fb407e
Merge branch 'insp3' into master.
2019-02-05 00:47:30 +00:00
Peter Powell
18678c6a22
Add ParamMode::IsParameterSecret and remove special casing of keys.
2019-01-28 17:26:15 +00:00
Sadie Powell
c78ecdf579
Replace the override macro with the override keyword.
2019-01-25 02:52:11 +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