|
|
@@ -1,6 +1,6 @@ |
|
|
|
/* |
|
|
|
* Carla Plugin Host |
|
|
|
* Copyright (C) 2011-2019 Filipe Coelho <falktx@falktx.com> |
|
|
|
* Copyright (C) 2011-2020 Filipe Coelho <falktx@falktx.com> |
|
|
|
* |
|
|
|
* This program is free software; you can redistribute it and/or |
|
|
|
* modify it under the terms of the GNU General Public License as |
|
|
@@ -18,8 +18,8 @@ |
|
|
|
#ifndef CARLA_NATIVE_PLUGIN_H_INCLUDED |
|
|
|
#define CARLA_NATIVE_PLUGIN_H_INCLUDED |
|
|
|
|
|
|
|
#include "CarlaBackend.h" |
|
|
|
#include "CarlaNative.h" |
|
|
|
#include "CarlaHost.h" |
|
|
|
|
|
|
|
#ifndef CARLA_HOST_H_INCLUDED |
|
|
|
#ifndef CARLA_UTILS_H_INCLUDED |
|
|
@@ -65,11 +65,25 @@ CARLA_EXPORT const NativePluginDescriptor* carla_get_native_patchbay64_plugin(vo |
|
|
|
*/ |
|
|
|
CARLA_EXPORT const NativePluginDescriptor* carla_get_native_patchbay_cv_plugin(void); |
|
|
|
|
|
|
|
/*! |
|
|
|
* Create a CarlaHostHandle suitable for CarlaHost API calls. |
|
|
|
* Returned value must be freed by the caller when no longer needed. |
|
|
|
*/ |
|
|
|
CARLA_EXPORT CarlaHostHandle carla_create_native_plugin_host_handle(const NativePluginDescriptor* desc, |
|
|
|
NativePluginHandle handle); |
|
|
|
|
|
|
|
/*! |
|
|
|
* Free memory created during carla_create_native_plugin_host_handle. |
|
|
|
*/ |
|
|
|
CARLA_EXPORT void carla_host_handle_free(CarlaHostHandle handle); |
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
/*! |
|
|
|
* Get the internal CarlaEngine instance. |
|
|
|
* @deprecated Please use carla_create_native_plugin_host_handle instead |
|
|
|
*/ |
|
|
|
CARLA_EXPORT CarlaBackend::CarlaEngine* carla_get_native_plugin_engine(const NativePluginDescriptor* desc, NativePluginHandle handle); |
|
|
|
CARLA_EXPORT CarlaBackend::CarlaEngine* carla_get_native_plugin_engine(const NativePluginDescriptor* desc, |
|
|
|
NativePluginHandle handle); |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif /* CARLA_NATIVE_PLUGIN_H_INCLUDED */ |