mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-03 13:41:12 +00:00

Although they do a lot of the same things, trying to deal with both kinds of device in the same GObject type was making it very hard to understand and maintain. Split out two GObjects that both derive from FuThunderboltDevice.
26 lines
649 B
C
26 lines
649 B
C
/*
|
|
* Copyright (C) 2021 Richard Hughes <richard@hughsie.com>
|
|
* Copyright (C) 2020 Mario Limonciello <mario.limonciello@dell.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <fwupdplugin.h>
|
|
|
|
#include "fu-thunderbolt-device.h"
|
|
|
|
#define FU_TYPE_THUNDERBOLT_RETIMER (fu_thunderbolt_retimer_get_type())
|
|
G_DECLARE_FINAL_TYPE(FuThunderboltRetimer,
|
|
fu_thunderbolt_retimer,
|
|
FU,
|
|
THUNDERBOLT_RETIMER,
|
|
FuThunderboltDevice)
|
|
|
|
gboolean
|
|
fu_thunderbolt_retimer_set_parent_port_offline(FuDevice *device, GError **error);
|
|
|
|
gboolean
|
|
fu_thunderbolt_retimer_set_parent_port_online(FuDevice *device, GError **error);
|