void HashBufferJob::callback() { std::string eventName = "HashBufferJob Complete"; NamedProperties data = NamedProperties(); NamedProperties::NamedHelper<int> bufferData; bufferData.val = &m_hash; data.addProperty(eventName, &bufferData); fireEventGlobal(eventName); }
void ReverseBufferJob::callback() { std::string eventName = "HashBufferJob Complete"; NamedProperties data = NamedProperties(); NamedProperties::NamedHelper<char*> bufferData; bufferData.val = &m_destinationBuffer; data.addProperty(eventName, &bufferData); fireEventGlobal(eventName); }