From 2fa8959b269c51bb40d1f03bbd7c55fdaa9da0dd Mon Sep 17 00:00:00 2001 From: harlekin Date: Tue, 09 Jul 2002 12:33:52 +0000 Subject: more gui work --- (limited to 'noncore/multimedia/opieplayer2/mediadetect.h') diff --git a/noncore/multimedia/opieplayer2/mediadetect.h b/noncore/multimedia/opieplayer2/mediadetect.h new file mode 100644 index 0000000..bd5ea1d --- a/dev/null +++ b/noncore/multimedia/opieplayer2/mediadetect.h @@ -0,0 +1,31 @@ + +#ifndef MEDIADETECT_H +#define MEDIADETECT_H + + +class QString; +class MediaDetect { + +public: + MediaDetect(); + ~MediaDetect(); + + /** + * Look at the filename and decide which gui is to be used + * + * @param filename the filename + * @return the char - a for audio gui, v for video, f for error + */ + char videoOrAudio( const QString& fileName ); + + /** + * Find out if it is a streaming media file + * + * @param filename the filename + * @return if it is a streaming url or not + */ + bool isStreaming( const QString& fileName ); + +}; + +#endif -- cgit v0.9.0.2