-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preparations for a future DISTRHO_PLUGIN_WANT_WEBVIEW
Signed-off-by: falkTX <[email protected]>
- Loading branch information
Showing
7 changed files
with
71 additions
and
16 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* DISTRHO Plugin Framework (DPF) | ||
* Copyright (C) 2012-2022 Filipe Coelho <[email protected]> | ||
* Copyright (C) 2012-2024 Filipe Coelho <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
|
@@ -86,6 +86,10 @@ static const writeMidiFunc writeMidiCallback = nullptr; | |
static const requestParameterValueChangeFunc requestParameterValueChangeCallback = nullptr; | ||
#endif | ||
|
||
#ifdef DPF_USING_LD_LINUX_WEBVIEW | ||
int dpf_webview_start(int argc, char* argv[]); | ||
#endif | ||
|
||
// ----------------------------------------------------------------------- | ||
|
||
static volatile bool gCloseSignalReceived = false; | ||
|
@@ -996,6 +1000,11 @@ int main(int argc, char* argv[]) | |
} | ||
#endif | ||
|
||
#ifdef DPF_USING_LD_LINUX_WEBVIEW | ||
if (argc >= 2 && std::strcmp(argv[1], "dpf-ld-linux-webview") == 0) | ||
return dpf_webview_start(argc - 1, argv + 1); | ||
#endif | ||
|
||
if (argc == 2 && std::strcmp(argv[1], "selftest") == 0) | ||
{ | ||
#ifdef DPF_RUNTIME_TESTING | ||
|
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
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
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