mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
25 lines
575 B
C++
25 lines
575 B
C++
//
|
|
// Created by tea on 10.03.16.
|
|
//
|
|
|
|
#ifndef PROTOC_BNET_BNETCODEGENERATOR_H
|
|
#define PROTOC_BNET_BNETCODEGENERATOR_H
|
|
|
|
#include <google/protobuf/compiler/code_generator.h>
|
|
#include <string>
|
|
|
|
namespace pb = google::protobuf;
|
|
namespace pbc = pb::compiler;
|
|
|
|
class BnetCodeGenerator : public pbc::CodeGenerator
|
|
{
|
|
public:
|
|
bool Generate(pb::FileDescriptor const* file,
|
|
std::string const& parameter,
|
|
pbc::GeneratorContext* generator_context,
|
|
std::string* error) const override;
|
|
|
|
};
|
|
|
|
#endif //PROTOC_BNET_BNETCODEGENERATOR_H
|