
Minimum Requirements:
- Windows 64 bits (ver 8.1, 10 or 11)
- 2 Gb free RAM (8 Gb+ recommended)
- 150 Mb of disk space
- Internet connection
Step 1: Plugin Registration PluginManager::register_file_handler( plugin_id, FileOpenFlags::CAN_HANDLE_EXTENSION | FileOpenFlags::ASYNC, ".xyz", ".abc", &my_file_open_callback ); Step 2: Host Invocation Logic def host_open_file(filepath): handlers = plugin_mgr.get_matching_handlers(filepath) handlers.sort(key=lambda h: h.priority, reverse=True) for handler in handlers: result = handler.before_open(filepath) if result.action == "HANDLE_FULLY": data = handler.open(filepath) return data elif result.action == "MODIFY_PATH": filepath = result.new_path
// Called after host opens file void (*on_after_file_open)(const char* path, void* context, int host_result); plugin file open
// Called instead of host opening (if plugin handles fully) int (*on_open_file)(const char* path, void* context, char** output_data, size_t* output_size); FileOpenFlags::CAN_HANDLE_EXTENSION | FileOpenFlags::ASYNC