mirror of
https://git.proxmox.com/git/fwupd
synced 2026-03-28 22:23:07 +00:00
At the moment we just blindly assume the capabilities of the front-end client when installing firmware. We can somewhat work around by requiring a new enough fwupd daemon version, but the client software may be older or just incomplete. This would allow, for instance, the firmware to specify that it requries the client to be able to show a detach image. This would not be set by a command line tool using FwupdClient, but would be set by a GUI client that is capable of downloading a URL and showing a PNG image. Clients that do not register features are assumed to be dumb.
21 lines
722 B
C
21 lines
722 B
C
/*
|
|
* Copyright (C) 2020 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <fwupd.h>
|
|
|
|
#define FU_TYPE_ENGINE_REQUEST (fu_engine_request_get_type ())
|
|
G_DECLARE_FINAL_TYPE (FuEngineRequest, fu_engine_request, FU, ENGINE_REQUEST, GObject)
|
|
|
|
FuEngineRequest *fu_engine_request_new (void);
|
|
FwupdFeatureFlags fu_engine_request_get_feature_flags (FuEngineRequest *self);
|
|
void fu_engine_request_set_feature_flags (FuEngineRequest *self,
|
|
FwupdFeatureFlags feature_flags);
|
|
FwupdDeviceFlags fu_engine_request_get_device_flags (FuEngineRequest *self);
|
|
void fu_engine_request_set_device_flags (FuEngineRequest *self,
|
|
FwupdDeviceFlags device_flags);
|