|
@@ -19,9 +19,15 @@ |
|
|
# error This file should not be compiled if not building bridge |
|
|
# error This file should not be compiled if not building bridge |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// must be first so we can undef CARLA_SAFE_*_RETURN_ERR* macros |
|
|
|
|
|
#include "CarlaPluginInternal.hpp" |
|
|
|
|
|
#undef CARLA_SAFE_ASSERT_RETURN_ERR |
|
|
|
|
|
#undef CARLA_SAFE_ASSERT_RETURN_ERRN |
|
|
|
|
|
#undef CARLA_SAFE_EXCEPTION_RETURN_ERR |
|
|
|
|
|
#undef CARLA_SAFE_EXCEPTION_RETURN_ERRN |
|
|
|
|
|
|
|
|
#include "CarlaEngineClient.hpp" |
|
|
#include "CarlaEngineClient.hpp" |
|
|
#include "CarlaEngineInit.hpp" |
|
|
#include "CarlaEngineInit.hpp" |
|
|
#include "CarlaPlugin.hpp" |
|
|
|
|
|
|
|
|
|
|
|
#include "CarlaBackendUtils.hpp" |
|
|
#include "CarlaBackendUtils.hpp" |
|
|
#include "CarlaBase64Utils.hpp" |
|
|
#include "CarlaBase64Utils.hpp" |
|
@@ -45,16 +51,6 @@ using water::Time; |
|
|
|
|
|
|
|
|
CARLA_BACKEND_START_NAMESPACE |
|
|
CARLA_BACKEND_START_NAMESPACE |
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
// just want to access private options... |
|
|
|
|
|
struct CarlaPlugin::ProtectedData { |
|
|
|
|
|
CarlaEngine* const engine; |
|
|
|
|
|
CarlaEngineClient* client; |
|
|
|
|
|
uint id, hints, options; |
|
|
|
|
|
// ...etc |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------- |
|
|
// Bridge Engine client |
|
|
// Bridge Engine client |
|
|
|
|
|
|
|
|