Example #1
0
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);
}
Example #2
0
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);
}