1 | // Copyright © SixtyFPS GmbH <info@slint.dev> |
---|---|
2 | // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial |
3 | |
4 | #include "logic.h" |
5 | #include "appwindow.h" |
6 | |
7 | void setup_logic(const Logic &logic) |
8 | { |
9 | logic.on_increment([](int x) { return x + 1; }); |
10 | } |