fwupd/plugins/dell-dock/fu-dell-dock-i2c-tbt.h
Richard Hughes a1ef52e5f9 dell-dock: Port to using fu_device_get_proxy()
This also cleans up the memory handling to prevent a ref-cycle loop that
prevented the dock devices from being finalized if the dock was removed.
2020-04-15 20:34:31 +01:00

27 lines
799 B
C

/*
* Copyright (C) 2019 Intel Corporation.
* Copyright (C) 2019 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-device.h"
#define FU_TYPE_DELL_DOCK_TBT (fu_dell_dock_tbt_get_type ())
G_DECLARE_FINAL_TYPE (FuDellDockTbt, fu_dell_dock_tbt, FU, DELL_DOCK_TBT, FuDevice)
FuDellDockTbt *fu_dell_dock_tbt_new (FuDevice *proxy);