mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-21 15:16:21 +00:00

Quite a few plugins use HID commands to communicate with the hardware. At the mement we have ~6 implementations of SET_REPORT and are soon to add one more. Move this into common code.
26 lines
770 B
C
26 lines
770 B
C
/*
|
|
* Copyright (C) 2018 Dell Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This software and associated documentation (if any) is furnished
|
|
* under a license and may only be used or copied in accordance
|
|
* with the terms of the license.
|
|
*
|
|
* This file is provided under a dual MIT/LGPLv2 license. When using or
|
|
* redistributing this file, you may do so under either license.
|
|
* Dell Chooses the MIT license part of Dual MIT/LGPLv2 license agreement.
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+ OR MIT
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "config.h"
|
|
|
|
#include "fu-hid-device.h"
|
|
|
|
#define FU_TYPE_DELL_DOCK_HUB (fu_dell_dock_hub_get_type ())
|
|
G_DECLARE_FINAL_TYPE (FuDellDockHub, fu_dell_dock_hub, FU, DELL_DOCK_HUB, FuHidDevice)
|
|
|
|
FuDellDockHub *fu_dell_dock_hub_new (FuUsbDevice *device);
|