#ifndef DATA_CHANNEL_PICKER_HPP_
#define DATA_CHANNEL_PICKER_HPP_

#include <optional>

#include <Widget/Layout/CompoundWidget/CompoundWidget.hpp>
#include <DataLink/DataLink.hpp>

/**
 * @brief A widget for picking a data channel.
 */
class DataChannelPicker : public CompoundWidget
{
public:
    /**
     * @brief Construct the picker with the specified reference.
     */
    DataChannelPicker(std::optional<DataLink::Channel> &selection, std::function<void()> onChanged = [](){});
};

#endif