mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 20:40:11 +02:00
Move desktop notifications to its own header
We'll need to use this from the chainloader.
This commit is contained in:
@@ -14,10 +14,6 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
#include "bridges/vst3.h"
|
||||
|
||||
using namespace std::literals::string_literals;
|
||||
|
||||
// FIXME: The VST3 SDK as of version 3.7.2 now includes multiple local functions
|
||||
// called `InitModule` and `DeinitModule`: one in the new
|
||||
// `public.sdk/source/main/initmodule.cpp`, and the existing ones in the
|
||||
@@ -29,6 +25,9 @@ using namespace std::literals::string_literals;
|
||||
// NOLINTNEXTLINE(bugprone-suspicious-include)
|
||||
#include <public.sdk/source/main/linuxmain.cpp>
|
||||
|
||||
#include "../common/linking.h"
|
||||
#include "bridges/vst3.h"
|
||||
|
||||
using namespace std::literals::string_literals;
|
||||
|
||||
namespace fs = ghc::filesystem;
|
||||
@@ -49,6 +48,8 @@ namespace fs = ghc::filesystem;
|
||||
|
||||
std::unique_ptr<Vst3PluginBridge> bridge;
|
||||
|
||||
// These functions are called by the `ModuleEntry` and `ModuleExit` functions on
|
||||
// the first load and load unload
|
||||
bool InitModule() {
|
||||
assert(!bridge);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user