kwave  18.07.70
PlaybackDeviceFactory.h
Go to the documentation of this file.
1 /***************************************************************************
2  PlaybackDeviceFactory.h - interface for playback device factories
3  -------------------
4  begin : Mon May 19 2003
5  copyright : (C) 2003 by Thomas Eschenbacher
6  email : Thomas.Eschenbacher@gmx.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef PLAYBACK_DEVICE_FACTORY_H
19 #define PLAYBACK_DEVICE_FACTORY_H
20 
21 #include <QList>
22 
23 #include "libkwave/PlayBackParam.h"
24 
25 namespace Kwave
26 {
27 
28  class PlayBackDevice;
29 
31  {
32  public:
34  virtual ~PlaybackDeviceFactory() { }
35 
42  Kwave::playback_method_t method) = 0;
43 
49  virtual QList<Kwave::playback_method_t> supportedMethods() = 0;
50 
51  };
52 }
53 
54 #endif /* PLAYBACK_DEVICE_FACTORY_H */
55 
56 //***************************************************************************
57 //***************************************************************************
Definition: App.h:33
playback_method_t
Definition: PlayBackParam.h:31
virtual QList< Kwave::playback_method_t > supportedMethods()=0
virtual Kwave::PlayBackDevice * createDevice(Kwave::playback_method_t method)=0