aboutsummaryrefslogtreecommitdiffstats
path: root/taglib/ogg/vorbis/vorbisfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'taglib/ogg/vorbis/vorbisfile.h')
-rw-r--r--taglib/ogg/vorbis/vorbisfile.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/taglib/ogg/vorbis/vorbisfile.h b/taglib/ogg/vorbis/vorbisfile.h
index 9e71dcbe..04c0c04e 100644
--- a/taglib/ogg/vorbis/vorbisfile.h
+++ b/taglib/ogg/vorbis/vorbisfile.h
@@ -121,6 +121,14 @@ namespace TagLib {
*/
virtual bool save();
+ /*!
+ * Check if the given \a stream can be opened as an Ogg Vorbis file.
+ *
+ * \note This method is designed to do a quick check. The result may
+ * not necessarily be correct.
+ */
+ static bool isSupported(IOStream *stream);
+
private:
File(const File &);
File &operator=(const File &);