mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 04:20:13 +02:00
Show a notification on version mismatch
Between the plugin and the Wine plugin host application.
This commit is contained in:
@@ -51,13 +51,19 @@
|
||||
|
||||
/**
|
||||
* Marker struct to indicate the other side (the plugin) should send a copy of
|
||||
* the configuration.
|
||||
* the configuration. During this process we will also transmit the version
|
||||
* string from the host, so we can show a little warning when the user forgot to
|
||||
* rerun `yabridgectl sync` (and the initialization was still successful).
|
||||
*/
|
||||
struct WantsConfiguration {
|
||||
using Response = Configuration;
|
||||
|
||||
std::string host_version;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S&) {}
|
||||
void serialize(S& s) {
|
||||
s.text1b(host_version, 128);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user