NAH 3.0.0
Native Application Host - Library API Reference
Loading...
Searching...
No Matches
NAH C++ API

NAH composes installed app, runtime, and host metadata into an inspectable launch contract.

#include <nah/nah.h>
int main() {
auto host = nah::host::NahHost::create("/opt/product/nah");
auto result = host->getLaunchContract("com.example.app");
if (!result.ok) return 1;
return host->executeContract(result.contract, {"argument"});
}

Link NAH::nah for the complete API or NAH::core for dependency-free composition types and functions.