/*
 * This file is auto-generated, do not modify!
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#pragma once
#include <libfwupd/fwupd-build.h>
/**
 * FwupdRequestKind:
 *
 * The kind of request we are asking of the user.
 */
typedef enum {
    /**
     * FWUPD_REQUEST_KIND_UNKNOWN:
     *
     * Unknown kind.
     */
    FWUPD_REQUEST_KIND_UNKNOWN,
    /**
     * FWUPD_REQUEST_KIND_POST:
     *
     * After the update.
     */
    FWUPD_REQUEST_KIND_POST,
    /**
     * FWUPD_REQUEST_KIND_IMMEDIATE:
     *
     * Immediately.
     */
    FWUPD_REQUEST_KIND_IMMEDIATE,
}  FwupdRequestKind;
#define FWUPD_REQUEST_KIND_LAST 3
const gchar *fwupd_request_kind_to_string(FwupdRequestKind val) G_GNUC_CONST;
FwupdRequestKind fwupd_request_kind_from_string(const gchar *val) G_GNUC_CONST G_GNUC_NON_NULL(1);
/**
 * FwupdRequestFlags:
 *
 * Flags used to represent request attributes
 */
typedef enum {
    /**
     * FWUPD_REQUEST_FLAG_NONE:
     *
     * No flags are set.
     */
    FWUPD_REQUEST_FLAG_NONE = 0,
    /**
     * FWUPD_REQUEST_FLAG_ALLOW_GENERIC_MESSAGE:
     *
     * Use a generic (translated) request message.
     */
    FWUPD_REQUEST_FLAG_ALLOW_GENERIC_MESSAGE = 1 << 0,
    /**
     * FWUPD_REQUEST_FLAG_ALLOW_GENERIC_IMAGE:
     *
     * Use a generic (translated) request image.
     */
    FWUPD_REQUEST_FLAG_ALLOW_GENERIC_IMAGE = 1 << 1,
    /**
     * FWUPD_REQUEST_FLAG_NON_GENERIC_MESSAGE:
     *
     * Device requires a non-generic interaction with custom non-translatable text.
     */
    FWUPD_REQUEST_FLAG_NON_GENERIC_MESSAGE = 1 << 2,
    /**
     * FWUPD_REQUEST_FLAG_NON_GENERIC_IMAGE:
     *
     * Device requires to show the user a custom image for the action to make sense.
     */
    FWUPD_REQUEST_FLAG_NON_GENERIC_IMAGE = 1 << 3,
    /**
     * FWUPD_REQUEST_FLAG_UNKNOWN:
     *
     * The request flag is unknown, typically caused by using mismatched client and daemon.
     */
    FWUPD_REQUEST_FLAG_UNKNOWN = G_MAXUINT64,
}  FwupdRequestFlags;
const gchar *fwupd_request_flag_to_string(FwupdRequestFlags val) G_GNUC_CONST;
FwupdRequestFlags fwupd_request_flag_from_string(const gchar *val) G_GNUC_CONST G_GNUC_NON_NULL(1);
