Skip to content

Commit 1f4303e

Browse files
committed
Register global and keyboard modules
1 parent de950da commit 1f4303e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
22

33
#include "app.h"
4+
#include "globalmodule.h"
5+
#include "keyboard/keyboardmodule.h"
46

57
using namespace scratchcpp;
68

79
int main(int argc, char *argv[])
810
{
911
App app;
12+
app.addModule(new GlobalModule);
13+
app.addModule(new keyboard::KeyboardModule);
1014

1115
return app.run(argc, argv);
1216
}

0 commit comments

Comments
 (0)