mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-17 22:24:21 +00:00

We'll soon have PD devices that are not children of the FuVliUsbhubDevice and so it makes sense to flattern out the namespace. Also, less code.
19 lines
618 B
C
19 lines
618 B
C
/*
|
|
* Copyright (C) 2017-2019 VIA Corporation
|
|
* Copyright (C) 2019 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "fu-firmware.h"
|
|
#include "fu-vli-usbhub-common.h"
|
|
|
|
#define FU_TYPE_VLI_USBHUB_FIRMWARE (fu_vli_usbhub_firmware_get_type ())
|
|
G_DECLARE_FINAL_TYPE (FuVliUsbhubFirmware, fu_vli_usbhub_firmware, FU, VLI_USBHUB_FIRMWARE, FuFirmware)
|
|
|
|
FuFirmware *fu_vli_usbhub_firmware_new (void);
|
|
FuVliDeviceKind fu_vli_usbhub_firmware_get_device_kind (FuVliUsbhubFirmware *self);
|
|
guint16 fu_vli_usbhub_firmware_get_device_id (FuVliUsbhubFirmware *self);
|