mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-22 09:12:32 +00:00

For instance, we can tell the user that UEFI UpdateCapsule is disabled in the system firmware, or that efivarfs is not mounted. This is much better than creating "dummy" devices which are really just hacks around the problem because no better API existed. THe dummy devices cause as many problems as they solve. Plugins have to set FWUPD_PLUGIN_FLAG_USER_WARNING if a warning should be shown to the user, and only one warning will be shown of each failure type. It is expected that GUI clients like gnome-software and gnome-firmware would use this API to notify the user the localized message for why firmware updates are not being shown. Fixes https://github.com/fwupd/fwupd/issues/2456
33 lines
738 B
C
33 lines
738 B
C
/*
|
|
* Copyright (C) 2015 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/**
|
|
* SECTION:fwupd
|
|
* @short_description: Helper objects for accessing fwupd
|
|
*/
|
|
|
|
#define __FWUPD_H_INSIDE__
|
|
|
|
#include <libfwupd/fwupd-client.h>
|
|
#include <libfwupd/fwupd-client-sync.h>
|
|
#include <libfwupd/fwupd-common.h>
|
|
#include <libfwupd/fwupd-device.h>
|
|
#include <libfwupd/fwupd-plugin.h>
|
|
#include <libfwupd/fwupd-enums.h>
|
|
#include <libfwupd/fwupd-error.h>
|
|
#include <libfwupd/fwupd-security-attr.h>
|
|
#include <libfwupd/fwupd-release.h>
|
|
#include <libfwupd/fwupd-remote.h>
|
|
#include <libfwupd/fwupd-version.h>
|
|
|
|
#ifndef FWUPD_DISABLE_DEPRECATED
|
|
#include <libfwupd/fwupd-deprecated.h>
|
|
#endif
|
|
|
|
#undef __FWUPD_H_INSIDE__
|