app: migrate all engine access to the C ABI facade (nm U _ZN5olive = 0)
Every app module now reaches liboakengine exclusively through oakengine_* C calls, EngineEventBridge subscriptions and app-side handle headers (cliphandle/keyframehandle/nodevaluehandle/oakvaluehelper). Direct C++ command construction, engine signal connect()s, and engine type usage in MOC-visible signatures are gone: 557 -> 0 undefined olive:: symbols in oak-editor.
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
#include "core.h"
|
||||
|
||||
#include "oakengine/undo.h"
|
||||
namespace olive
|
||||
{
|
||||
|
||||
@@ -70,13 +71,13 @@ void ConfigDialogBase::accept()
|
||||
}
|
||||
}
|
||||
|
||||
MultiUndoCommand *command = new MultiUndoCommand();
|
||||
void *command = oakengine_undo_command_create_multi();
|
||||
|
||||
foreach (ConfigDialogBaseTab *tab, tabs_) {
|
||||
tab->accept(command);
|
||||
}
|
||||
|
||||
Core::instance()->undo_stack()->push(command, tr("Set Configuration"));
|
||||
oakengine_undo_push(command, tr("Set Configuration").toUtf8().constData());
|
||||
|
||||
AcceptEvent();
|
||||
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include "config/config.h"
|
||||
#include "undo/undocommand.h"
|
||||
#include "common/configwrapper.h"
|
||||
|
||||
namespace olive
|
||||
{
|
||||
@@ -36,7 +35,7 @@ public:
|
||||
|
||||
virtual bool validate();
|
||||
|
||||
virtual void accept(MultiUndoCommand *parent) = 0;
|
||||
virtual void accept(void *parent) = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user