LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
updates::PluginUpdateInfo Struct Reference

Information about a single plugin that has an available update. More...

#include <UpdateInfo.hpp>

Collaboration diagram for updates::PluginUpdateInfo:
Collaboration graph

Public Attributes

std::string id
 Plugin ID (matches PluginMetadata::id)
 
std::string name
 Human-readable name.
 
std::string currentVersion
 Installed version ("" if not installed)
 
std::string availableVersion
 Version available in the release.
 
std::string downloadUrl
 Platform-specific ZIP download URL.
 
std::string apiVersion
 Plugin API version declared in manifest.
 
std::string minAppVersion
 Minimum app version required by this plugin.
 
std::string sha256
 Expected SHA-256 hex digest of the ZIP.
 
bool isCompatible {false}
 API version and minAppVersion satisfied.
 

Detailed Description

Information about a single plugin that has an available update.

The isCompatible flag is pre-computed by UpdateChecker based on the plugin manifest's apiVersion and minAppVersion fields. Incompatible updates are included in the result so the UI can display a warning, but UpdateDialog must not allow the user to install them.

Member Data Documentation

◆ apiVersion

std::string updates::PluginUpdateInfo::apiVersion

Plugin API version declared in manifest.

◆ availableVersion

std::string updates::PluginUpdateInfo::availableVersion

Version available in the release.

◆ currentVersion

std::string updates::PluginUpdateInfo::currentVersion

Installed version ("" if not installed)

◆ downloadUrl

std::string updates::PluginUpdateInfo::downloadUrl

Platform-specific ZIP download URL.

◆ id

std::string updates::PluginUpdateInfo::id

Plugin ID (matches PluginMetadata::id)

◆ isCompatible

bool updates::PluginUpdateInfo::isCompatible {false}

API version and minAppVersion satisfied.

◆ minAppVersion

std::string updates::PluginUpdateInfo::minAppVersion

Minimum app version required by this plugin.

◆ name

std::string updates::PluginUpdateInfo::name

Human-readable name.

◆ sha256

std::string updates::PluginUpdateInfo::sha256

Expected SHA-256 hex digest of the ZIP.


The documentation for this struct was generated from the following file: