/*
 * Copyright 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-later OR MIT
 */

#pragma once

#include <fwupdplugin.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)

/**
 * FU_DELL_DOCK_HUB_FLAG_HAS_BRIDGE:
 *
 * A bridge is present, possibly with extended devices.
 */
#define FU_DELL_DOCK_HUB_FLAG_HAS_BRIDGE "has-bridge"

FuDellDockHub *
fu_dell_dock_hub_new(FuUsbDevice *device);
void
fu_dell_dock_hub_add_instance(FuDellDockHub *self, guint8 dock_type);
