KOffice – TDE office suite
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

KPrSoundPlayer.h 1.7KB

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