author | harlekin <harlekin> | 2002-07-09 12:33:52 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-09 12:33:52 (UTC) |
commit | 2fa8959b269c51bb40d1f03bbd7c55fdaa9da0dd (patch) (side-by-side diff) | |
tree | 8ce99f4cde91c9346a4cd6f7029ec1d1308cfb30 /noncore/multimedia/opieplayer2/mediadetect.h | |
parent | c0d304c69f6c42328472cd1328d9cad7c2ed4dfb (diff) | |
download | opie-2fa8959b269c51bb40d1f03bbd7c55fdaa9da0dd.zip opie-2fa8959b269c51bb40d1f03bbd7c55fdaa9da0dd.tar.gz opie-2fa8959b269c51bb40d1f03bbd7c55fdaa9da0dd.tar.bz2 |
more gui work
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediadetect.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediadetect.h | 31 |
1 files changed, 31 insertions, 0 deletions
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 |