95 lines
2.7 KiB
C++
95 lines
2.7 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: im_msgid.proto
|
|
|
|
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
|
|
#include "im_msgid.pb.h"
|
|
|
|
#include <algorithm>
|
|
|
|
#include <google/protobuf/stubs/common.h>
|
|
#include <google/protobuf/stubs/once.h>
|
|
#include <google/protobuf/io/coded_stream.h>
|
|
#include <google/protobuf/wire_format_lite_inl.h>
|
|
#include <google/protobuf/descriptor.h>
|
|
#include <google/protobuf/generated_message_reflection.h>
|
|
#include <google/protobuf/reflection_ops.h>
|
|
#include <google/protobuf/wire_format.h>
|
|
// @@protoc_insertion_point(includes)
|
|
|
|
namespace im {
|
|
|
|
namespace {
|
|
|
|
const ::google::protobuf::EnumDescriptor* IMMessageId_e_descriptor_ = NULL;
|
|
|
|
} // namespace
|
|
|
|
|
|
void protobuf_AssignDesc_im_5fmsgid_2eproto() {
|
|
protobuf_AddDesc_im_5fmsgid_2eproto();
|
|
const ::google::protobuf::FileDescriptor* file =
|
|
::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
|
|
"im_msgid.proto");
|
|
GOOGLE_CHECK(file != NULL);
|
|
IMMessageId_e_descriptor_ = file->enum_type(0);
|
|
}
|
|
|
|
namespace {
|
|
|
|
GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
|
|
inline void protobuf_AssignDescriptorsOnce() {
|
|
::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
|
|
&protobuf_AssignDesc_im_5fmsgid_2eproto);
|
|
}
|
|
|
|
void protobuf_RegisterTypes(const ::std::string&) {
|
|
protobuf_AssignDescriptorsOnce();
|
|
}
|
|
|
|
} // namespace
|
|
|
|
void protobuf_ShutdownFile_im_5fmsgid_2eproto() {
|
|
}
|
|
|
|
void protobuf_AddDesc_im_5fmsgid_2eproto() {
|
|
static bool already_here = false;
|
|
if (already_here) return;
|
|
already_here = true;
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
|
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
|
"\n\016im_msgid.proto\022\002im*>\n\rIMMessageId_e\022\024\n"
|
|
"\020_IMSocketConnect\020\001\022\027\n\023_IMSocketDisconne"
|
|
"ct\020\002", 84);
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
|
"im_msgid.proto", &protobuf_RegisterTypes);
|
|
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_im_5fmsgid_2eproto);
|
|
}
|
|
|
|
// Force AddDescriptors() to be called at static initialization time.
|
|
struct StaticDescriptorInitializer_im_5fmsgid_2eproto {
|
|
StaticDescriptorInitializer_im_5fmsgid_2eproto() {
|
|
protobuf_AddDesc_im_5fmsgid_2eproto();
|
|
}
|
|
} static_descriptor_initializer_im_5fmsgid_2eproto_;
|
|
const ::google::protobuf::EnumDescriptor* IMMessageId_e_descriptor() {
|
|
protobuf_AssignDescriptorsOnce();
|
|
return IMMessageId_e_descriptor_;
|
|
}
|
|
bool IMMessageId_e_IsValid(int value) {
|
|
switch(value) {
|
|
case 1:
|
|
case 2:
|
|
return true;
|
|
default:
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
} // namespace im
|
|
|
|
// @@protoc_insertion_point(global_scope)
|