package udisks

import "github.com/godbus/dbus/v5"

const (
	busName      = "org.freedesktop.UDisks2"
	objectPrefix = "/org/freedesktop/UDisks2"

	ifaceObjectManager = "org.freedesktop.DBus.ObjectManager"
	ifaceBlock         = "org.freedesktop.UDisks2.Block"
	ifaceEncrypted     = "org.freedesktop.UDisks2.Encrypted"
	ifaceFilesystem    = "org.freedesktop.UDisks2.Filesystem"
)

// BlockDevice represents a udisks2 block device.
type BlockDevice struct {
	ObjectPath          dbus.ObjectPath
	DevicePath          string // e.g., "/dev/sda1"
	UUID                string
	HasEncrypted        bool
	HasFilesystem       bool
	CryptoBackingDevice dbus.ObjectPath
}

func noOptions() map[string]dbus.Variant {
	return make(map[string]dbus.Variant)
}
