policy-node: use default-nodes-api plugin

This commit is contained in:
George Kiagiadakis
2021-03-31 13:09:24 +03:00
parent 0bc257b6c3
commit 0ecefcb55d
5 changed files with 25 additions and 18 deletions

View File

@@ -69,6 +69,11 @@ local function Constraint (spec)
return debug.setmetatable(spec, { __name = "Constraint" })
end
local Id = {
INVALID = 0xffffffff,
ANY = 0xffffffff,
}
local Features = {
PipewireObject = {
MINIMAL = 0x11,
@@ -111,6 +116,7 @@ local Feature = {
}
SANDBOX_EXPORT = {
Id = Id,
Features = Features,
Feature = Feature,
Log = WpDebug,