com.threerings.presents.tools.cpp.decoder_h.mustache Maven / Gradle / Ivy
The newest version!
#pragma once
#include "presents/InvocationDecoder.h"
{{#namespaces}}
namespace {{this}} { {{/namespaces}}
class {{receiverName}};
class {{decoderName}} : public presents::InvocationDecoder {
public:
{{decoderName}}(Shared<{{receiverName}}> receiver);
void dispatchNotification(int8 methodId, const std::vector< Shared >& args);
protected:
Shared<{{receiverName}}> _receiver;
};
{{#namespaces}}
}{{/namespaces}}