00001 // -*- C++ -*- 00002 // $Id: field_def.h,v 1.1 2000/10/24 16:12:05 eldamitri Exp $ 00003 00004 // id3lib: a C++ library for creating and manipulating id3v1/v2 tags 00005 // Copyright 1999, 2000 Scott Thomas Haug 00006 00007 // This library is free software; you can redistribute it and/or modify it 00008 // under the terms of the GNU Library General Public License as published by 00009 // the Free Software Foundation; either version 2 of the License, or (at your 00010 // option) any later version. 00011 // 00012 // This library is distributed in the hope that it will be useful, but WITHOUT 00013 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00014 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00015 // License for more details. 00016 // 00017 // You should have received a copy of the GNU Library General Public License 00018 // along with this library; if not, write to the Free Software Foundation, 00019 // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00020 00021 // The id3lib authors encourage improvements and optimisations to be sent to 00022 // the id3lib coordinator. Please see the README file for details on where to 00023 // send such submissions. See the AUTHORS file for a list of people who have 00024 // contributed to id3lib. See the ChangeLog file for a list of changes to 00025 // id3lib. These files are distributed with id3lib at 00026 // http://download.sourceforge.net/id3lib/ 00027 00028 #ifndef _ID3LIB_FIELD_DEF_H_ 00029 #define _ID3LIB_FIELD_DEF_H_ 00030 00031 #include "globals.h" 00032 00033 struct ID3_FieldDef 00034 { 00035 ID3_FieldID _id; 00036 ID3_FieldType _type; 00037 size_t _fixed_size; 00038 ID3_V2Spec _spec_begin; 00039 ID3_V2Spec _spec_end; 00040 flags_t _flags; 00041 ID3_FieldID _linked_field; 00042 static const ID3_FieldDef* DEFAULT; 00043 }; 00044 00045 #endif