Commit edb9fcc16cab52f61854081a700281ce9d00566a
1 parent
a9252bfc
Exists in
master
and in
2 other branches
Testing refactored menu engine on windows.
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
src/main/builder.c
| ... | ... | @@ -18,6 +18,8 @@ |
| 18 | 18 | */ |
| 19 | 19 | |
| 20 | 20 | #include "private.h" |
| 21 | + #include <pw3270/application.h> | |
| 22 | + #include <pw3270/keypad.h> | |
| 21 | 23 | |
| 22 | 24 | static GMenu * get_keypad_menu(GApplication *application) { |
| 23 | 25 | |
| ... | ... | @@ -50,6 +52,11 @@ |
| 50 | 52 | |
| 51 | 53 | static const char * filename = "ui/linux.ui.xml"; |
| 52 | 54 | |
| 55 | +#elif defined(G_OS_WIN32) | |
| 56 | + | |
| 57 | + static const char * filename = "ui/windows.ui.xml"; | |
| 58 | + | |
| 59 | + | |
| 53 | 60 | #else |
| 54 | 61 | |
| 55 | 62 | #error Cant determine platform based UI definition | ... | ... |