#![forbid(unsafe_code)]
pub mod callback;
pub mod camera;
pub mod discovery;
pub mod error;
pub mod frame;
pub mod port;
pub mod system;
pub mod types;
pub use callback::FrameCallback;
pub use camera::Camera;
pub use discovery::{register_camera_discovery, DiscoveryRegistration};
pub use error::{check, error_name, VmbError};
pub use frame::{Frame, PixelFormat};
pub use port::{DiscoveryCallback, VmbRuntime};
pub use system::VmbSystem;
pub use types::{
CameraHandle, CameraInfo, DiscoveryCallbackId, DiscoveryEvent, DiscoveryRegistrationHandle,
FrameCallbackId, FrameSlotId,
};
pub type Result<T> = std::result::Result<T, VmbError>;