kpresenter

KPrSoundPlayer.h
1/* This file is part of the KDE project
2
3base code from kaudioplayer.h, kaudioplayer.cpp
4Copyright (C) 2000 Stefan Westerfeld
5stefan@space.twc.de
6
7and konq_sound.h konq_sound.cpp
8Copyright (c) 2001 Malte Starostik <malte@kde.org>
9
10This file's authors :
11Copyright (C) 2001 Toshitaka Fujioka <fujioka@kde.org>
12
13This library is free software; you can redistribute it and/or
14modify it under the terms of the GNU Library General Public
15License as published by the Free Software Foundation; either
16version 2 of the License, or (at your option) any later version.
17
18This library is distributed in the hope that it will be useful,
19but WITHOUT ANY WARRANTY; without even the implied warranty of
20MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21Library General Public License for more details.
22
23You should have received a copy of the GNU Library General Public License
24along with this library; see the file COPYING.LIB. If not, write to
25the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
26 * Boston, MA 02110-1301, USA.
27*/
28
29#ifndef kpresenter_sound_player_h
30#define kpresenter_sound_player_h
31
32#include <tqobject.h>
33
34
35/*
36 namespace Arts
37 {
38 class SoundServerV2;
39 class KArtsDispatcher;
40 calss KPlayObjectFactory;
41 calss KPlayObject;
42 }
43*/
44class KPrSoundPlayer : public TQObject
45{
46 TQ_OBJECT
47
48public:
49 KPrSoundPlayer( const TQString &fileName, TQObject *parent = 0, const char *name = 0 );
50
51 ~KPrSoundPlayer();
52
53 void play( const TQString &fileName );
54 void stop();
55
56public slots:
57 void play();
58
59private:
60 class KPresenterSoundPlayerPrivate *d;
61};
62
63#endif // kpresenter_sound_player_h