]> git.stg.codes - stg.git/commitdiff
Removed more unused stuff.
authorMaxim Mamontov <faust.madf@gmail.com>
Wed, 22 Jul 2015 18:10:04 +0000 (21:10 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Wed, 22 Jul 2015 18:10:04 +0000 (21:10 +0300)
stglibs/sgcp.lib/include/stg/sgcp_proto.h

index 440843a1d2d15a176734e42cde1feba66dc158e0..4d16c844acc3a51c2988febf87aed54327786410 100644 (file)
  */
 
 #include "sgcp_types.h" // TransportType
-#include "sgcp_utils.h" // hton/ntoh
 
 #include "stg/os_int.h"
 
-#include <boost/asio/basic_stream_socket.hpp>
 #include <boost/function.hpp>
 #include <boost/scoped_ptr.hpp>
-#include <boost/system/error_code.hpp>
 
 #include <string>
-#include <vector>
 #include <stdexcept>
 
 namespace STG
@@ -43,13 +39,6 @@ namespace SGCP
 class Proto
 {
     public:
-        enum { CONTEXT = 0 };
-        enum PacketType {
-            INFO = 0,
-            PING,
-            PONG,
-            DATA
-        };
 
         struct Error : public std::runtime_error
         {