kwave  18.07.70
StandardBitrates.h
Go to the documentation of this file.
1 /*************************************************************************
2  StandardBitrates.h - well known bitrates from ogg/vorbis + MP3
3  -------------------
4  begin : Tue Jun 17 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 STANDARD_BITRATES_H
19 #define STANDARD_BITRATES_H
20 
21 #include "config.h"
22 
23 #include <QtGlobal>
24 #include <QList>
25 
26 namespace Kwave
27 {
28  class Q_DECL_EXPORT StandardBitrates: public QList<int>
29  {
30  public:
33 
35  virtual ~StandardBitrates();
36 
38  static const StandardBitrates &instance();
39 
45  virtual int nearest(int rate) const;
46 
47  };
48 }
49 
50 #endif /* STANDARD_BITRATES_H */
51 
52 //***************************************************************************
53 //***************************************************************************
Definition: App.h:33