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.
19 lines
412 B
C
19 lines
412 B
C
/*
|
|
* Copyright (C) 2021 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <fwupdplugin.h>
|
|
|
|
#include "fu-thunderbolt-device.h"
|
|
|
|
#define FU_TYPE_THUNDERBOLT_CONTROLLER (fu_thunderbolt_controller_get_type())
|
|
G_DECLARE_FINAL_TYPE(FuThunderboltController,
|
|
fu_thunderbolt_controller,
|
|
FU,
|
|
THUNDERBOLT_CONTROLLER,
|
|
FuThunderboltDevice)
|