From e10bc468c85184549320c082f66cb9ff9fd8bb82 Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Wed, 8 Sep 2004 22:38:00 +0000 Subject: [PATCH] Some API overview updates. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@345123 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- toolkit/taglib.h | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/toolkit/taglib.h b/toolkit/taglib.h index f119e467..cdc101e4 100644 --- a/toolkit/taglib.h +++ b/toolkit/taglib.h @@ -96,9 +96,7 @@ namespace TagLib { * \section why Why TagLib? * * TagLib was written to fill a gap in the Open Source/Free Software community. Currently there is a lack in the - * OSS/FS for a homogenous API to the most common music types. In fact the only semi-portable implementation of the - * ID3v2 standard available on Linux is id3lib, which unfortunately is poorly written, poorly documented and which - * cycles through maintainers at least once a year (I took my turn some time ago.). + * OSS/FS for a homogenous API to the most common music types. * * As TagLib will be initially injected into the KDE community, while I am not linking to any of the KDE or Qt libraries * I have tried to follow the coding style of those libraries. Again, this is in sharp contrast to id3lib, which @@ -127,10 +125,30 @@ namespace TagLib { * * \endcode * - * Notice that these high level functions work for both Ogg \e and MP3. For this high level API, which is suitable for - * most applications, the differences between ID3v2, ID3v1, MPEG and Ogg Vorbis can all be ignored. + * Note that these high level functions work for Ogg, FLAC, MPC \e and MP3 (or any other formats supported in the + * future). For this high level API, which is suitable for most applications, the differences between tag and file + * formats can all be ignored. + * + * \section Building + * + * TagLib provides a script called taglib-config that returns the necessary compiler and linker flags, as well as the + * version number. To build a small sample program one would use: + * + * g++ taglib-test.cpp `taglib-config --cflags --libs` -o taglib-test + * + * This should generally be integrated into the configure check for TagLib in your project. + * + * \note TagLib includes assume that you have the TagLib include path specified in the compile line, by default + * -I/usr/local/include/taglib. Using #include will not work. (Though this + * is usually handled by the taglib-config script mentioned above.) + * + * \section Contact + * + * - TagLib Homepage + * - TagLib Mailing List (taglib-devel@kde.org) * * \author Scott Wheeler + * */ #endif