#pragma once
#include <string>
#include <unordered_map>
#include <vector>
#include "ext-data-control-v1-client-protocol.h"
#include "common/clipboard-protocol.hpp"

struct ActiveSource {
  std::unordered_map<std::string, std::vector<uint8_t>> offers;
};

namespace ClipboardWriter {

void setSelection(ext_data_control_manager_v1 *manager, ext_data_control_device_v1 *device,
                  const clipboard_proto::Selection &selection);

} // namespace ClipboardWriter
