Move shared Asset code to AssetUtils.h

This commit is contained in:
Ryan Huffman 2015-08-03 16:27:17 -07:00
parent 3a2ef35a3b
commit 3843e642e5

View file

@ -0,0 +1,25 @@
//
// AssetUtils.h
//
// Created by Ryan Huffman on 2015/07/30
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_AssetUtils_h
#define hifi_AssetUtils_h
using MessageID = uint32_t;
using DataOffset = int64_t;
const int HASH_HEX_LENGTH = 32;
enum AssetServerError : uint8_t {
NO_ERROR = 0,
ASSET_NOT_FOUND,
INVALID_BYTE_RANGE,
};
#endif