// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

#pragma once

#include <string>
#include <string_view>
#include <vector>

#include "wpi/glass/Model.hpp"

namespace wpi::glass {

class StringChooserModel : public Model {
 public:
  virtual const std::string& GetDefault() = 0;
  virtual const std::string& GetSelected() = 0;
  virtual const std::string& GetActive() = 0;
  virtual const std::vector<std::string>& GetOptions() = 0;

  virtual void SetSelected(std::string_view val) = 0;
};

void DisplayStringChooser(StringChooserModel* model);

}  // namespace wpi::glass
