Skip to main content

Crate haloforge_plugin_api

Crate haloforge_plugin_api 

Source

Re-exports§

pub use error::PluginError;
pub use manifest::CapabilityLevel;
pub use manifest::DocumentHandlerConfig;
pub use manifest::HostCapability;
pub use manifest::IntegrationConfig;
pub use manifest::PluginManifest;
pub use manifest::WindowPolicyConfig;
pub use permissions::Permission;
pub use types::*;

Modules§

error
manifest
permissions
types

Macros§

declare_plugin
Every native plugin crate must call this macro exactly once.

Structs§

FsEntry
HttpResponse
ProcessOutput

Enums§

AppEvent
Well-known app events plugins can subscribe to.
HostTable
Host tables that can be granted read access.

Constants§

PLUGIN_ABI_VERSION
The stable ABI version of this plugin API. Increment MAJOR on any breaking change to the HaloForgePlugin trait or context traits.
PUBLIC_HOST_API_VERSION

Traits§

DatabaseAccess
EventBus
HaloForgePlugin
Every native plugin must implement this trait.
HttpClient
IpcRegistrar
PluginContext
The host-provided context injected into the plugin at load time. This is the plugin’s only gateway to host services.
PluginFs
ProcessRunner

Type Aliases§

IpcHandler
Handler type for plugin IPC commands. Takes (args JSON, plugin context), returns result JSON.