mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-10-10 15:10:33 +00:00
Response keeps a ptr to the SettingsBag now.
This commit is contained in:
parent
6c5497ae49
commit
75674525de
12 changed files with 27 additions and 21 deletions
|
@ -26,7 +26,7 @@ namespace tawashi {
|
|||
|
||||
class ResponseFactory {
|
||||
public:
|
||||
typedef std::function<std::unique_ptr<Response>(const SettingsBag&)> ResponseMakerFunc;
|
||||
typedef std::function<std::unique_ptr<Response>(const Kakoune::SafePtr<SettingsBag>&)> ResponseMakerFunc;
|
||||
|
||||
explicit ResponseFactory (const Kakoune::SafePtr<SettingsBag>& parSettings);
|
||||
~ResponseFactory() noexcept;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue