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:
@@ -35,14 +35,20 @@ NodeParamViewArrayWidget::NodeParamViewArrayWidget(Node *node,
|
||||
: QWidget(parent)
|
||||
, node_(node)
|
||||
, input_(input)
|
||||
, bridge_(new EngineEventBridge(this))
|
||||
{
|
||||
QHBoxLayout *layout = new QHBoxLayout(this);
|
||||
|
||||
count_lbl_ = new QLabel();
|
||||
layout->addWidget(count_lbl_);
|
||||
|
||||
connect(node_, &Node::input_array_size_changed, this,
|
||||
&NodeParamViewArrayWidget::update_counter);
|
||||
bridge_->subscribe(reinterpret_cast<void *>(node_),
|
||||
OAKENGINE_EVENT_NODE_INPUT_ARRAY_SIZE_CHANGED);
|
||||
connect(bridge_, &EngineEventBridge::node_input_array_size_changed, this,
|
||||
[this](OakEngineNode *, const QString &input, int old_size,
|
||||
int new_size) {
|
||||
update_counter(input, old_size, new_size);
|
||||
});
|
||||
|
||||
update_counter(input_, 0, node_->input_array_size(input_));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user