All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.threerings.presents.tools.cpp.decoder_h.mustache Maven / Gradle / Ivy

#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}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy