-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement generic first parameters for Handler
Combined with the new atspi_event_handler function, automatically convert a HandlerService for a specific event type, into a generic event handler, which checks if the event type matches before passing it into the inner event handler. It will either: transform the event into its specific type, or abort the calling of the service with an `OdiliaError::AtspiError(AtspiError::Conversion(...))` Clipppy and fmt
- Loading branch information
Showing
2 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters