diff --git a/include/share/grabbag/Makefile.am b/include/share/grabbag/Makefile.am index 9b2750e5..0d520aa5 100644 --- a/include/share/grabbag/Makefile.am +++ b/include/share/grabbag/Makefile.am @@ -5,5 +5,6 @@ AUTOMAKE_OPTIONS = foreign EXTRA_DIST = \ cuesheet.h \ file.h \ + picture.h \ replaygain.h \ seektable.h diff --git a/include/share/grabbag/picture.h b/include/share/grabbag/picture.h new file mode 100644 index 00000000..ed864f7d --- /dev/null +++ b/include/share/grabbag/picture.h @@ -0,0 +1,37 @@ +/* grabbag - Convenience lib for various routines common to several tools + * Copyright (C) 2006 Josh Coalson + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +/* This .h cannot be included by itself; #include "share/grabbag.h" instead. */ + +#ifndef GRABBAG__PICTURE_H +#define GRABBAG__PICTURE_H + +#include "FLAC/metadata.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* spec and error_message must not be NULL */ +FLAC__StreamMetadata *grabbag__picture_parse_specification(const char *spec, const char **error_message); + +#ifdef __cplusplus +} +#endif + +#endif