File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 69
69
# define DISTRHO_PLUGIN_USES_MODGUI 0
70
70
#endif
71
71
72
+ #ifndef DISTRHO_PLUGIN_USES_CUSTOM_MODGUI
73
+ # error DISTRHO_PLUGIN_USES_CUSTOM_MODGUI undef
74
+ // # define DISTRHO_PLUGIN_USES_CUSTOM_MODGUI 0
75
+ #endif
76
+
72
77
#if DISTRHO_PLUGIN_HAS_EMBED_UI
73
78
# if DISTRHO_OS_HAIKU
74
79
# define DISTRHO_LV2_UI_TYPE " BeUI"
@@ -1218,7 +1223,7 @@ void lv2_generate_ttl(const char* const basename)
1218
1223
std::cout << " done!" << std::endl;
1219
1224
}
1220
1225
1221
- #if DISTRHO_PLUGIN_USES_MODGUI
1226
+ #if DISTRHO_PLUGIN_USES_MODGUI && !DISTRHO_PLUGIN_USES_CUSTOM_MODGUI
1222
1227
{
1223
1228
std::cout << " Writing modgui.ttl..." ; std::cout.flush ();
1224
1229
std::fstream modguiFile (" modgui.ttl" , std::ios::out);
@@ -1505,7 +1510,7 @@ void lv2_generate_ttl(const char* const basename)
1505
1510
stylesheetFile.close ();
1506
1511
std::cout << " done!" << std::endl;
1507
1512
}
1508
- #endif
1513
+ #endif // DISTRHO_PLUGIN_USES_MODGUI && !DISTRHO_PLUGIN_USES_CUSTOM_MODGUI
1509
1514
1510
1515
// ---------------------------------------------
1511
1516
You can’t perform that action at this time.
0 commit comments