mirror of
https://github.com/esphome/esphome.git
synced 2026-09-19 02:58:38 +00:00
19 lines
413 B
C++
19 lines
413 B
C++
#pragma once
|
|
|
|
#include "esphome/core/helpers.h"
|
|
#include <initializer_list>
|
|
|
|
namespace esphome::select {
|
|
|
|
class SelectTraits {
|
|
public:
|
|
void set_options(const std::initializer_list<const char *> &options);
|
|
void set_options(const FixedVector<const char *> &options);
|
|
const FixedVector<const char *> &get_options() const;
|
|
|
|
protected:
|
|
FixedVector<const char *> options_;
|
|
};
|
|
|
|
} // namespace esphome::select
|