Loading...
Searching...
No Matches
PluginInfo.h
Go to the documentation of this file.
1//
2// PluginInfo.h
3//
4
5#pragma once
6
7#include <string>
8#include <optional>
10
11namespace ml
12{
52 {
53 std::string path;
54 std::string name;
55 std::string version;
56 std::optional<sf::Texture> thumbnail;
58 };
59
60} // namespace ml
Definition Component.h:18
Lightweight metadata record for a discovered plugin.
Definition PluginInfo.h:52
std::string name
Display name, from Plugin::getName().
Definition PluginInfo.h:54
std::optional< sf::Texture > thumbnail
Definition PluginInfo.h:56
std::string version
Version string, from Plugin::getVersion().
Definition PluginInfo.h:55
std::string path
Absolute path to the plugin shared library.
Definition PluginInfo.h:53