Unified notification of source creation with Source info

New virtual function source::info used for notification after adding source
This commit is contained in:
Bruno Herbelin
2021-12-05 18:32:23 +01:00
parent bf3fc61ef7
commit 4675be7e2a
15 changed files with 111 additions and 18 deletions

View File

@@ -51,7 +51,8 @@ public:
// StreamSource interface
Stream *stream () const override { return stream_; }
glm::ivec2 icon () const override { return glm::ivec2(3, 9); }
glm::ivec2 icon() const override;
std::string info() const override;
// specific interface
void setFiles (const std::list<std::string> &list_files, uint framerate);