/*
 * Copyright 2022 Mario Limonciello <mario.limonciello@amd.com>
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#pragma once

#include <libfwupd/fwupd-bios-setting.h>

#define FU_TYPE_FIRMWARE_ATTRS (fu_bios_settings_get_type())

G_DECLARE_FINAL_TYPE(FuBiosSettings, fu_bios_settings, FU, BIOS_SETTINGS, GObject)

gboolean
fu_bios_settings_get_pending_reboot(FuBiosSettings *self, gboolean *result, GError **error)
    G_GNUC_NON_NULL(1);
FwupdBiosSetting *
fu_bios_settings_get_attr(FuBiosSettings *self, const gchar *val) G_GNUC_NON_NULL(1, 2);
gboolean
fu_bios_settings_is_supported(FuBiosSettings *self) G_GNUC_NON_NULL(1);
gboolean
fu_bios_settings_register_attr(FuBiosSettings *self, FwupdBiosSetting *attr, GError **error)
    G_GNUC_NON_NULL(1, 2);
