#ifndef DATA_CHANNEL_SELECTOR_HPP_
#define DATA_CHANNEL_SELECTOR_HPP_

#include <optional>

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

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

#endif