Loading...
Searching...
No Matches
PluginInfo.h
Go to the documentation of this file.
1// Copyright (c) 2025 Dave R. Smith. All rights reserved.
2// Malena Framework — Proprietary Software. See LICENSE for terms.
3
4//
5// PluginInfo.h
6//
7
8#pragma once
9
11#include <string>
12#include <optional>
14
15namespace ml
16{
56 {
57 std::string path;
58 std::string name;
59 std::string version;
60 std::optional<sf::Texture> thumbnail;
62 };
63
64} // namespace ml
Definition Component.h:22
Lightweight metadata record for a discovered plugin.
Definition PluginInfo.h:56
std::string name
Display name, from Plugin::getName().
Definition PluginInfo.h:58
std::optional< sf::Texture > thumbnail
Definition PluginInfo.h:60
std::string version
Version string, from Plugin::getVersion().
Definition PluginInfo.h:59
std::string path
Absolute path to the plugin shared library.
Definition PluginInfo.h:57