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:
2026-07-26 22:43:21 +08:00
parent f95590e924
commit 0aa5879f35
256 changed files with 12357 additions and 4044 deletions
+11 -21
View File
@@ -23,7 +23,8 @@
#define OAK_TASKDIALOG_H
#include "dialog/progress/progress.h"
#include "task/task.h"
#include "engineeventbridge.h"
#include "oakengine/task.h"
namespace olive
{
@@ -31,29 +32,16 @@ namespace olive
class TaskDialog : public ProgressDialog {
Q_OBJECT
public:
/**
* @brief TaskDialog Constructor
*
* Creates a TaskDialog. The TaskDialog takes ownership of the Task and will destroy it on close.
* Connect to the Task::Succeeded() if you want to retrieve information from the task before it
* gets destroyed.
*/
TaskDialog(Task *task, const QString &title, QWidget *parent = nullptr);
TaskDialog(OakEngineTask *task, const QString &title, QWidget *parent = nullptr);
~TaskDialog() override;
/**
* @brief Set whether TaskDialog should destroy itself (and the task) when it's closed
*
* This is TRUE by default.
*/
void set_destroy_on_close(bool e)
{
destroy_on_close_ = e;
}
/**
* @brief Returns this dialog's task
*/
Task *get_task() const
OakEngineTask *get_task() const
{
return task_;
}
@@ -64,12 +52,14 @@ protected:
virtual void closeEvent(QCloseEvent *e) override;
signals:
void task_succeeded(Task *task);
void task_succeeded(OakEngineTask *task);
void task_failed(Task *task);
void task_failed(OakEngineTask *task);
private:
Task *task_;
OakEngineTask *task_;
EngineEventBridge *bridge_ = nullptr;
bool destroy_on_close_;