1 /* ------------------------------------------------------------------ 2 * Copyright (C) 1998-2009 PacketVideo 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 * express or implied. 14 * See the License for the specific language governing permissions 15 * and limitations under the License. 16 * ------------------------------------------------------------------- 17 */ 18 /** 19 * @file pv_id3_parcom_types.h 20 * @brief Type definitions for ID3 Parser-Composer 21 */ 22 23 #ifndef PV_ID3_PARCOM_TYPES_H_INCLUDED 24 #define PV_ID3_PARCOM_TYPES_H_INCLUDED 25 26 #ifndef OSCL_BASE_H_INCLUDED 27 #include "oscl_base.h" 28 #endif 29 #ifndef OSCL_MEM_H_INCLUDED 30 #include "oscl_mem.h" 31 #endif 32 #ifndef OSCL_VECTOR_H_INCLUDED 33 #include "oscl_vector.h" 34 #endif 35 #ifndef OSCL_SHARED_PTR_H_INCLUDED 36 #include "oscl_shared_ptr.h" 37 #endif 38 #ifndef PVMI_KVP_INCLUDED 39 #include "pvmi_kvp.h" 40 #endif 41 42 /** Enumerated list of supported ID3 versions */ 43 typedef enum 44 { 45 PV_ID3_INVALID_VERSION = -1, /**< Invalid ID3 version */ 46 PV_ID3_V1 = 0, /**< ID3 Version 1 */ 47 PV_ID3_V1_1 = 1, /**< ID3 Version 1.1 */ 48 PV_ID3_V2_2 = 2, /**< ID3 Version 2.2 */ 49 PV_ID3_V2_3 = 3, /**< ID3 Version 2.3 */ 50 PV_ID3_V2_4 = 4 /**< ID3 Version 2.4 */ 51 } PVID3Version; 52 53 /** Shared pointer of a key-value pair */ 54 typedef OsclSharedPtr<PvmiKvp> PvmiKvpSharedPtr; 55 56 /** Vector of shared pointer of a key-value pair */ 57 typedef Oscl_Vector<PvmiKvpSharedPtr, OsclMemAllocator> PvmiKvpSharedPtrVector; 58 59 #endif // PV_ID3_PARCOM_TYPES_H_INCLUDED 60 61 62