35 auto strings = wxSplit(req,
';');
36 if(strings.size() == 2)
38 providerId = strings[0];
39 pluginPath = strings[1];
52 auto utf8 = value.ToUTF8();
56 channel.
Send(utf8.data(), length);
59void InputMessageReader::ConsumeBytes(
const void* bytes,
size_t length)
63 std::memcpy(&
mBuffer[from], bytes, length);
125 auto key = wxString(p.first.data(), p.first.length());
126 auto& attr = p.second;
157 desc.WriteXML(writer);
std::vector< Attribute > AttributesList
Interface for sending data from client to server or vice versa, complemented by IPCChannelStatusCallb...
virtual void Send(const void *bytes, size_t length)=0
Write data to the channel.
static constexpr auto XMLNodeName
This class is an interface which should be implemented by classes which wish to be able to load and s...
Base class for XMLFileWriter and XMLStringWriter that provides the general functionality for creating...
virtual void StartTag(const wxString &name)
void WriteAttr(const wxString &name, const Identifier &value)
virtual void EndTag(const wxString &name)
const wxString & GetErrorMessage() const noexcept
void WriteXML(XMLWriter &writer) const
const std::vector< PluginDescriptor > & GetDescriptors() const noexcept
bool IsValid() const noexcept
void SetError(const wxString &msg)
void HandleXMLEndTag(const std::string_view &) override
bool HasError() const noexcept
std::vector< PluginDescriptor > mDescriptors
void Add(PluginDescriptor &&desc)
XMLTagHandler * HandleXMLChild(const std::string_view &tag) override
bool HandleXMLTag(const std::string_view &tag, const AttributesList &attrs) override
Extend wxArrayString with move operations and construction and insertion fromstd::initializer_list.
const TranslatableString desc
constexpr auto AttrErrorMessage
constexpr auto HeaderBlockSize
constexpr auto NodePlugin
bool ParseRequestString(const wxString &req, wxString &providerId, wxString &pluginPath)
void PutMessage(IPCChannel &channel, const wxString &value)
wxString MakeRequestString(const wxString &providerId, const wxString &pluginPath)