Created
June 23, 2020 18:30
-
-
Save sakex/6331d910aa8e6c18c982ffdba4651782 to your computer and use it in GitHub Desktop.
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
// bindings.hpp | |
extern "C" void register_button(GUI::Engine *engine, AbstractButtonBinding *button) { | |
auto *concrete = new ButtonBindingConcrete(button); | |
engine->registerButton(concrete); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment