A plugin SDK (software development kit) for KMC Prism Profiler.
Warning
This is a preview version.
- Breaking changes to features and ABI may occur.
- Git branches may be removed or have their commit histories cleared.
The main branch contains the source code and raw API metadata.
CI automatically pushes to the pregenerated branch whenever main is updated.
It contains binding libraries with pregenerated code, ready for use in plugin development.
This section describes the role and purpose of each file in this repository.
The following files contain raw API metadata generated from the canonical implementation.
meta/Omni-*.gircontains the GIR meadata for the plugin API, from which binding libraries can be generated automatically for various programming languages.meta/omnikit.his the C header file for the plugin API.
The following directories contain binding libraries that can be used to implement plugins in different programming langauges.
rust/contains the Rust binding library. This is officially supported.
The following files are used to build and develop OmniKit itself.
-
flake.nixdefines a Nix flake providing a build environment for OmniKit. It can be used with the Nix package manager. -
nix/contains helper code forflake.nix. -
etc/contains helper tools used during development. -
vendor/contains vendored external source files. -
.github/workflows/contains configuration files for GitHub Actions CI, which automatically runs actions on git pushes, pull requests, and other triggers. -
docs/contains additional documentation for OmniKit developers.Documentation for plugin developers is provided separately.
-
.editorconfigis an EditorConfig file. Some text editors read this file to determine the default indentation settings.
See this guide for how to develop OmniKit.
- The directory structure may change without prior notice.