mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-16 13:41:26 +00:00

This is useful to present to the user using the command line, and means each FuDevice-deriving object does not have to handle this.
29 lines
671 B
C
29 lines
671 B
C
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
|
|
*
|
|
* Copyright (C) 2016 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#ifndef __FU_EBITDO_DEVICE_H
|
|
#define __FU_EBITDO_DEVICE_H
|
|
|
|
#include <glib-object.h>
|
|
#include <gusb.h>
|
|
|
|
#include "fu-plugin.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define FU_TYPE_EBITDO_DEVICE (fu_ebitdo_device_get_type ())
|
|
G_DECLARE_FINAL_TYPE (FuEbitdoDevice, fu_ebitdo_device, FU, EBITDO_DEVICE, FuUsbDevice)
|
|
|
|
FuEbitdoDevice *fu_ebitdo_device_new (GUsbDevice *usb_device);
|
|
|
|
/* getters */
|
|
const guint32 *fu_ebitdo_device_get_serial (FuEbitdoDevice *device);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __FU_EBITDO_DEVICE_H */
|