You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue
I am adding and deleting output channels dynamically (or to be more precise - according to a setup-file) to my plugin. I want to compare to the unique-channel key, and if the present channel key was removed from the settings file, I am going to delete the output-channel in oxygen as well. To do so, I need the INSTANCE_CHANNEL_KEY property.
My current source code looks like this: const auto& key_property = std::dynamic_pointer_cast<EditableStringProperty>(channels_to_question[i]->getProperty("SoftwareChannelInstanceKey"));
as the INSTANCE_CHANNEL_KEY is defined private in odkfw_software_channel_instance.cpp.
Suggested Solution
Add a function to PluginChannel allowing to get the INSTANCE_CHANNEL_KEY property. Alternativly, make INSTANCE_CHANNEL_KEY a global, public define.
The text was updated successfully, but these errors were encountered:
Issue
I am adding and deleting output channels dynamically (or to be more precise - according to a setup-file) to my plugin. I want to compare to the unique-channel key, and if the present channel key was removed from the settings file, I am going to delete the output-channel in oxygen as well. To do so, I need the
INSTANCE_CHANNEL_KEY
property.My current source code looks like this:
const auto& key_property = std::dynamic_pointer_cast<EditableStringProperty>(channels_to_question[i]->getProperty("SoftwareChannelInstanceKey"));
as the
INSTANCE_CHANNEL_KEY
is defined private inodkfw_software_channel_instance.cpp
.Suggested Solution
Add a function to
PluginChannel
allowing to get theINSTANCE_CHANNEL_KEY
property. Alternativly, makeINSTANCE_CHANNEL_KEY
a global, public define.The text was updated successfully, but these errors were encountered: