summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkonq/konq_sound.h')
-rw-r--r--libkonq/konq_sound.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/libkonq/konq_sound.h b/libkonq/konq_sound.h
new file mode 100644
index 000000000..78fcc968b
--- /dev/null
+++ b/libkonq/konq_sound.h
@@ -0,0 +1,35 @@
+/* This file is part of the KDE Project
+ Copyright (c) 2001 Malte Starostik <malte@kde.org>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License version 2 as published by the Free Software Foundation.
+
+ This library 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
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+*/
+
+#ifndef __konq_sound_h__
+#define __konq_sound_h__
+
+#include <klibloader.h>
+
+class KonqSoundPlayer : public QObject
+{
+public:
+ virtual const QStringList &mimeTypes() = 0;
+ virtual void play(const QString &fileName) = 0;
+ virtual void stop() = 0;
+ virtual bool isPlaying() = 0;
+};
+
+#endif
+
+// vim: ts=4 sw=4 noet