mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-02 16:21:18 +00:00
28 lines
566 B
C
28 lines
566 B
C
/*
|
|
* Copyright (C) 2021 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#include "fu-test-ble-device.h"
|
|
|
|
struct _FuTestBleDevice {
|
|
FuBluezDevice parent_instance;
|
|
};
|
|
|
|
G_DEFINE_TYPE(FuTestBleDevice, fu_test_ble_device, FU_TYPE_BLUEZ_DEVICE)
|
|
|
|
static void
|
|
fu_test_ble_device_init(FuTestBleDevice *self)
|
|
{
|
|
fu_device_add_protocol(FU_DEVICE(self), "org.test.testble");
|
|
fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_UPDATABLE);
|
|
}
|
|
|
|
static void
|
|
fu_test_ble_device_class_init(FuTestBleDeviceClass *klass)
|
|
{
|
|
}
|