aboutsummaryrefslogtreecommitdiffhomepage
path: root/system/dbus/export_test.go
blob: b1dc365f8bfdd6ac53185575fb9611e3047cef9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package dbus

import (
	"context"
	"io"

	"hakurei.app/container"
)

// NewDirect returns a new instance of [Proxy] with its sandbox disabled.
func NewDirect(ctx context.Context, msg container.Msg, final *Final, output io.Writer) *Proxy {
	p := New(ctx, msg, final, output)
	p.useSandbox = false
	return p
}