diff --git a/inc/hgl/assets/AssetsSource.h b/inc/hgl/assets/AssetsSource.h index 8c22676..4f4b30b 100644 --- a/inc/hgl/assets/AssetsSource.h +++ b/inc/hgl/assets/AssetsSource.h @@ -25,9 +25,7 @@ namespace hgl StreamDevice, ///<流式设备(如摄像头、麦克风) Network, ///<网络 - BEGIN_RANGE =Memory, - END_RANGE =Network, - RANGE_SIZE =(END_RANGE-BEGIN_RANGE)+1 + ENUM_CLASS_RANGE(Memory,Network) };//enum class SourceType /** @@ -35,14 +33,12 @@ namespace hgl */ enum class IndexType { - itAnonymous=0, ///<匿名访问 - itName, ///<字符串名称 - itID, /// namespace hgl { /** @@ -17,9 +18,7 @@ namespace hgl Wave, ///<声音数据 Video, ///<视频数据 - BEGIN_RANGE =Binary, - END_RANGE =Video, - RANGE_SIZE =(END_RANGE-BEGIN_RANGE)+1 + ENUM_CLASS_RANGE(Binary,Video) };//enum class AssetsType }//namespace hgl #endif//HGL_ASSETS_TYPE_INCLUDE