mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Shared: Include cleanup
This commit is contained in:
@@ -19,13 +19,20 @@
|
||||
#define ProtobufJSON_h__
|
||||
|
||||
#include "Define.h"
|
||||
#include <google/protobuf/message.h>
|
||||
#include <string>
|
||||
|
||||
namespace google
|
||||
{
|
||||
namespace protobuf
|
||||
{
|
||||
class Message;
|
||||
}
|
||||
}
|
||||
|
||||
namespace JSON
|
||||
{
|
||||
TC_SHARED_API std::string Serialize(google::protobuf::Message const& message);
|
||||
TC_SHARED_API bool Deserialize(std::string json, google::protobuf::Message* message);
|
||||
TC_SHARED_API bool Deserialize(std::string const& json, google::protobuf::Message* message);
|
||||
}
|
||||
|
||||
#endif // ProtobufJSON_h__
|
||||
|
||||
Reference in New Issue
Block a user