Removed PatchLibrarian dependency on OSC
git-svn-id: http://svn.drobilla.net/lad@121 a436a847-0d15-0410-975c-d299462d15a1
This commit is contained in:
parent
f0eda10737
commit
819808fe8e
|
@ -31,14 +31,13 @@ namespace Client {
|
|||
class NodeModel;
|
||||
class PresetModel;
|
||||
class PatchModel;
|
||||
class ModelClientInterface;
|
||||
|
||||
|
||||
/** Model-based engine command interface.
|
||||
*
|
||||
* \ingroup IngenClient
|
||||
*/
|
||||
class ModelEngineInterface
|
||||
class ModelEngineInterface : public virtual Shared::EngineInterface
|
||||
{
|
||||
public:
|
||||
virtual ~ModelEngineInterface() {}
|
||||
|
|
|
@ -37,7 +37,7 @@ namespace Client {
|
|||
*
|
||||
* \ingroup IngenClient
|
||||
*/
|
||||
class OSCEngineSender : public EngineInterface
|
||||
class OSCEngineSender : virtual public EngineInterface
|
||||
{
|
||||
public:
|
||||
OSCEngineSender(const string& engine_url);
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "ConnectionModel.h"
|
||||
#include "PortModel.h"
|
||||
#include "PresetModel.h"
|
||||
#include "OSCModelEngineInterface.h"
|
||||
#include "ModelEngineInterface.h"
|
||||
#include "PluginModel.h"
|
||||
#include "util/Path.h"
|
||||
#include <iostream>
|
||||
|
|
|
@ -33,7 +33,7 @@ class PatchModel;
|
|||
class NodeModel;
|
||||
class ConnectionModel;
|
||||
class PresetModel;
|
||||
class OSCModelEngineInterface;
|
||||
class ModelEngineInterface;
|
||||
class ModelClientInterface;
|
||||
|
||||
|
||||
|
@ -46,8 +46,8 @@ class PatchLibrarian
|
|||
public:
|
||||
// FIXME: return booleans and set an errstr that can be checked or something?
|
||||
|
||||
PatchLibrarian(OSCModelEngineInterface* osc_model_engine_interface)
|
||||
: _patch_search_path("."), _engine(osc_model_engine_interface)
|
||||
PatchLibrarian(ModelEngineInterface* _engine)
|
||||
: _patch_search_path("."), _engine(_engine)
|
||||
{
|
||||
assert(_engine);
|
||||
}
|
||||
|
@ -63,8 +63,8 @@ public:
|
|||
private:
|
||||
string translate_load_path(const string& path);
|
||||
|
||||
string _patch_search_path;
|
||||
OSCModelEngineInterface* const _engine;
|
||||
string _patch_search_path;
|
||||
ModelEngineInterface* const _engine;
|
||||
|
||||
/// Translations of paths from the loading file to actual paths (for deprecated patches)
|
||||
std::map<string, string> _load_path_translations;
|
||||
|
|
Loading…
Reference in New Issue