diff options
Diffstat (limited to 'SDL_Core/src/components/protocol_handler/include/protocol_handler/service_type.h')
-rw-r--r-- | SDL_Core/src/components/protocol_handler/include/protocol_handler/service_type.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/SDL_Core/src/components/protocol_handler/include/protocol_handler/service_type.h b/SDL_Core/src/components/protocol_handler/include/protocol_handler/service_type.h deleted file mode 100644 index 32a29836b..000000000 --- a/SDL_Core/src/components/protocol_handler/include/protocol_handler/service_type.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef SRC_COMPONENTS_PROTOCOL_HANDLER_INCLUDE_PROTOCOL_HANDLER_SERVICE_TYPE_H -#define SRC_COMPONENTS_PROTOCOL_HANDLER_INCLUDE_PROTOCOL_HANDLER_SERVICE_TYPE_H - -#include <stdint.h> - -#include "protocol_handler/protocol_packet.h" - -namespace protocol_handler { - -/** - * \brief Enum describing possible types of sessions: RPC for API messages, - Navi for video streaming, bulk for PutFile. - */ -enum ServiceType { - kZero = SERVICE_TYPE_ZERO, - kRpc = SERVICE_TYPE_RPC, - kAudio = SERVICE_TYPE_AUDIO, - kMobileNav = SERVICE_TYPE_NAVI, - kBulk = SERVICE_TYPE_BULK, - kInvalidServiceType -}; - -/* - * Service type conversion functions that are used to read and output - * Service types to binary stream - */ -ServiceType ServiceTypeFromByte(uint8_t type); -uint8_t ServiceTypeToByte(ServiceType type); - -} // namespace protocol_handler - -#endif // SRC_COMPONENTS_PROTOCOL_HANDLER_INCLUDE_PROTOCOL_HANDLER_SERVICE_TYPE_H |