- de-Qt src/plugin/src (olivehost/oliveplugininstance/oliveclip/
paraminstance/image/pluginprogressreporter); QMessageBox/
QApplication replaced by facade callbacks
- new C ABI in include/plugin/{error,host,instance}.h with
refcounted OakPluginInstance value handle
- paraminstance bridges via oaknode C ABI (OakNodeNode value handle,
oaknode_node_identity registry); undo via oakundo C ABI
- oliveclip textures are OakRenderTexture value handles; oakrender
gains texture/copier/ticket C API additions
- oaknode gains get_input_at_time/set_input_at_time_undoable/
node_identity/sequence_from_node/sequence_set_default_parameters/
find_input_footage
- move avframeptr.h to src/common/src (shared by codec and render)
- node transition pluginSupport stubs bridge the real oakplugin
headers; all oaknode-building standalone trees add src/plugin and
link oakplugin into their test binaries
- plugin tests self-sufficient (ipc shim, OfxHost force_load,
PRE_TEST discovery, OCIO env); timeline standalone gains
render/c_api
- restore ffmpegdecoder.cpp in src/codec/src/ffmpeg/CMakeLists.txt
(dropped in 3d004c081, caused jump-to-0 in decoder/encoder tests)
All six standalone trees green: codec 22, audio 40, task 110,
render 49, timeline 121, plugin 100.
41 lines
1.4 KiB
C
41 lines
1.4 KiB
C
/***
|
|
|
|
Oak Video Editor - Non-Linear Video Editor
|
|
Copyright (C) 2026 Oak Team
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
***/
|
|
|
|
#ifndef OAK_EDITOR_PLUGIN_ERROR_H
|
|
#define OAK_EDITOR_PLUGIN_ERROR_H
|
|
|
|
#include <stdint.h>
|
|
|
|
/**
|
|
* @brief Status and error codes shared by all oakplugin C API families.
|
|
*/
|
|
#define OAKPLUGIN_OK 0 /**< Success. */
|
|
#define OAKPLUGIN_E_INVALID (-1) /**< NULL handle or invalid argument. */
|
|
#define OAKPLUGIN_E_STATE (-2) /**< Call not valid in the current state. */
|
|
#define OAKPLUGIN_E_FAILED (-3) /**< The underlying operation failed. */
|
|
#define OAKPLUGIN_E_NOT_FOUND (-4) /**< Entry not found. */
|
|
#define OAKPLUGIN_E_NOMEM (-5) /**< Allocation failed. */
|
|
#define OAKPLUGIN_E_CANCELLED (-6) /**< The operation was cancelled. */
|
|
|
|
/** @brief ABI version stamped into every oakplugin handle. */
|
|
#define OAKPLUGIN_ABI_VERSION 1
|
|
|
|
#endif //OAK_EDITOR_PLUGIN_ERROR_H
|