00001 // -*- C++ -*- 00002 // $Id: frame_def.h,v 1.1 2000/10/24 16:12:58 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_FRAME_DEF_H_ 00029 #define _ID3LIB_FRAME_DEF_H_ 00030 00031 #include "globals.h" 00032 00033 struct ID3_FieldDef; 00034 00035 // Structure used for defining how frames are defined internally. 00036 struct ID3_FrameDef 00037 { 00038 ID3_FrameID eID; 00039 char sShortTextID[3 + 1]; 00040 char sLongTextID[4 + 1]; 00041 bool bTagDiscard; 00042 bool bFileDiscard; 00043 const ID3_FieldDef* aeFieldDefs; 00044 const char * sDescription; 00045 }; 00046 00047 #endif