mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-04 01:20:25 +00:00
trivial: Remove the class structs for types that use G_DECLARE_FINAL_TYPE
This commit is contained in:
parent
509010c10d
commit
5ceabcda1a
@ -9,7 +9,3 @@
|
||||
|
||||
#define FU_TYPE_ANALOGIX_DEVICE (fu_analogix_device_get_type())
|
||||
G_DECLARE_FINAL_TYPE(FuAnalogixDevice, fu_analogix_device, FU, ANALOGIX_DEVICE, FuUsbDevice)
|
||||
|
||||
struct _FuAnalogixDeviceClass {
|
||||
FuUsbDeviceClass parent_class;
|
||||
};
|
||||
|
@ -10,7 +10,3 @@
|
||||
|
||||
#define FU_TYPE_CORSAIR_DEVICE (fu_corsair_device_get_type())
|
||||
G_DECLARE_FINAL_TYPE(FuCorsairDevice, fu_corsair_device, FU, CORSAIR_DEVICE, FuUsbDevice)
|
||||
|
||||
struct _FuCorsairDeviceClass {
|
||||
FuUsbDeviceClass parent_class;
|
||||
};
|
||||
|
@ -10,7 +10,3 @@
|
||||
|
||||
#define FU_TYPE_CROS_EC_USB_DEVICE (fu_cros_ec_usb_device_get_type())
|
||||
G_DECLARE_FINAL_TYPE(FuCrosEcUsbDevice, fu_cros_ec_usb_device, FU, CROS_EC_USB_DEVICE, FuUsbDevice)
|
||||
|
||||
struct _FuCrosEcUsbDeviceClass {
|
||||
FuUsbDeviceClass parent_class;
|
||||
};
|
||||
|
@ -10,7 +10,3 @@
|
||||
|
||||
#define FU_TYPE_ELANFP_DEVICE (fu_elanfp_device_get_type())
|
||||
G_DECLARE_FINAL_TYPE(FuElanfpDevice, fu_elanfp_device, FU, ELANFP_DEVICE, FuUsbDevice)
|
||||
|
||||
struct _FuElanfpDeviceClass {
|
||||
FuUsbDeviceClass parent_class;
|
||||
};
|
||||
|
@ -10,7 +10,3 @@
|
||||
|
||||
#define FU_TYPE_FRESCO_PD_DEVICE (fu_fresco_pd_device_get_type())
|
||||
G_DECLARE_FINAL_TYPE(FuFrescoPdDevice, fu_fresco_pd_device, FU, FRESCO_PD_DEVICE, FuUsbDevice)
|
||||
|
||||
struct _FuFrescoPdDeviceClass {
|
||||
FuUsbDeviceClass parent_class;
|
||||
};
|
||||
|
@ -10,7 +10,3 @@
|
||||
|
||||
#define FU_TYPE_STEELSERIES_FIZZ (fu_steelseries_fizz_get_type())
|
||||
G_DECLARE_FINAL_TYPE(FuSteelseriesFizz, fu_steelseries_fizz, FU, STEELSERIES_FIZZ, FuUsbDevice)
|
||||
|
||||
struct _FuSteelseriesFizzClass {
|
||||
FuUsbDeviceClass parent_class;
|
||||
};
|
||||
|
@ -14,7 +14,3 @@ G_DECLARE_FINAL_TYPE(FuSteelseriesGamepad,
|
||||
FU,
|
||||
STEELSERIES_GAMEPAD,
|
||||
FuUsbDevice)
|
||||
|
||||
struct _FuSteelseriesGamepadClass {
|
||||
FuUsbDeviceClass parent_class;
|
||||
};
|
||||
|
@ -10,7 +10,3 @@
|
||||
|
||||
#define FU_TYPE_STEELSERIES_SONIC (fu_steelseries_sonic_get_type())
|
||||
G_DECLARE_FINAL_TYPE(FuSteelseriesSonic, fu_steelseries_sonic, FU, STEELSERIES_SONIC, FuUsbDevice)
|
||||
|
||||
struct _FuSteelseriesSonicClass {
|
||||
FuUsbDeviceClass parent_class;
|
||||
};
|
||||
|
@ -14,7 +14,3 @@ G_DECLARE_FINAL_TYPE(FuSynapticsCapeDevice,
|
||||
FU,
|
||||
SYNAPTICS_CAPE_DEVICE,
|
||||
FuHidDevice)
|
||||
|
||||
struct _FuSynapticsCapeDeviceClass {
|
||||
FuHidDeviceClass parent_class;
|
||||
};
|
||||
|
@ -14,7 +14,3 @@ G_DECLARE_FINAL_TYPE(FuSynapticsCxaudioDevice,
|
||||
FU,
|
||||
SYNAPTICS_CXAUDIO_DEVICE,
|
||||
FuHidDevice)
|
||||
|
||||
struct _FuSynapticsCxaudioDeviceClass {
|
||||
FuHidDeviceClass parent_class;
|
||||
};
|
||||
|
@ -12,7 +12,3 @@
|
||||
|
||||
#define FU_TYPE_UEFI_COD_DEVICE (fu_uefi_cod_device_get_type())
|
||||
G_DECLARE_FINAL_TYPE(FuUefiCodDevice, fu_uefi_cod_device, FU, UEFI_COD_DEVICE, FuUefiDevice)
|
||||
|
||||
struct _FuUefiCodDeviceClass {
|
||||
FuUefiDeviceClass parent_class;
|
||||
};
|
||||
|
@ -12,7 +12,3 @@
|
||||
|
||||
#define FU_TYPE_UEFI_GRUB_DEVICE (fu_uefi_grub_device_get_type())
|
||||
G_DECLARE_FINAL_TYPE(FuUefiGrubDevice, fu_uefi_grub_device, FU, UEFI_GRUB_DEVICE, FuUefiDevice)
|
||||
|
||||
struct _FuUefiGrubDeviceClass {
|
||||
FuUefiDeviceClass parent_class;
|
||||
};
|
||||
|
@ -12,7 +12,3 @@
|
||||
|
||||
#define FU_TYPE_UEFI_NVRAM_DEVICE (fu_uefi_nvram_device_get_type())
|
||||
G_DECLARE_FINAL_TYPE(FuUefiNvramDevice, fu_uefi_nvram_device, FU, UEFI_NVRAM_DEVICE, FuUefiDevice)
|
||||
|
||||
struct _FuUefiNvramDeviceClass {
|
||||
FuUefiDeviceClass parent_class;
|
||||
};
|
||||
|
@ -12,7 +12,3 @@
|
||||
|
||||
#define FU_TYPE_VLI_PD_DEVICE (fu_vli_pd_device_get_type())
|
||||
G_DECLARE_FINAL_TYPE(FuVliPdDevice, fu_vli_pd_device, FU, VLI_PD_DEVICE, FuVliDevice)
|
||||
|
||||
struct _FuVliPdDeviceClass {
|
||||
FuVliDeviceClass parent_class;
|
||||
};
|
||||
|
@ -17,9 +17,5 @@ G_DECLARE_FINAL_TYPE(FuVliPdParadeDevice,
|
||||
VLI_PD_PARADE_DEVICE,
|
||||
FuDevice)
|
||||
|
||||
struct _FuVliPdParadeDeviceClass {
|
||||
FuDeviceClass parent_class;
|
||||
};
|
||||
|
||||
FuDevice *
|
||||
fu_vli_pd_parade_device_new(FuVliDevice *parent);
|
||||
|
@ -12,7 +12,3 @@
|
||||
|
||||
#define FU_TYPE_VLI_USBHUB_DEVICE (fu_vli_usbhub_device_get_type())
|
||||
G_DECLARE_FINAL_TYPE(FuVliUsbhubDevice, fu_vli_usbhub_device, FU, VLI_USBHUB_DEVICE, FuVliDevice)
|
||||
|
||||
struct _FuVliUsbhubDeviceClass {
|
||||
FuVliDeviceClass parent_class;
|
||||
};
|
||||
|
@ -15,9 +15,5 @@ G_DECLARE_FINAL_TYPE(FuVliUsbhubMsp430Device,
|
||||
VLI_USBHUB_MSP430_DEVICE,
|
||||
FuDevice)
|
||||
|
||||
struct _FuVliUsbhubMsp430DeviceClass {
|
||||
FuDeviceClass parent_class;
|
||||
};
|
||||
|
||||
FuDevice *
|
||||
fu_vli_usbhub_msp430_device_new(FuVliUsbhubDevice *parent);
|
||||
|
@ -15,9 +15,5 @@ G_DECLARE_FINAL_TYPE(FuVliUsbhubPdDevice,
|
||||
VLI_USBHUB_PD_DEVICE,
|
||||
FuDevice)
|
||||
|
||||
struct _FuVliUsbhubPdDeviceClass {
|
||||
FuDeviceClass parent_class;
|
||||
};
|
||||
|
||||
FuDevice *
|
||||
fu_vli_usbhub_pd_device_new(FuVliUsbhubDevice *parent);
|
||||
|
@ -15,9 +15,5 @@ G_DECLARE_FINAL_TYPE(FuVliUsbhubRtd21xxDevice,
|
||||
VLI_USBHUB_RTD21XX_DEVICE,
|
||||
FuDevice)
|
||||
|
||||
struct _FuVliUsbhubRtd21xxDeviceClass {
|
||||
FuDeviceClass parent_class;
|
||||
};
|
||||
|
||||
FuDevice *
|
||||
fu_vli_usbhub_rtd21xx_device_new(FuVliUsbhubDevice *parent);
|
||||
|
Loading…
Reference in New Issue
Block a user