kwave  18.07.70
WavFormatMap.h
Go to the documentation of this file.
1 /***************************************************************************
2  WavFormatMap.h - list of known wav file formats
3  -------------------
4  begin : Apr 28 2002
5  copyright : (C) 2002 by Thomas Eschenbacher
6  email : Thomas Eschenbacher <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 WAV_FORMAT_MAP_H
19 #define WAV_FORMAT_MAP_H
20 
21 #include "config.h"
22 
23 #include <QMap>
24 #include <QString>
25 
26 #include "WavFileFormat.h"
27 
28 namespace Kwave
29 {
33  class WavFormatMap: public QMap<Kwave::wav_format_id, QString>
34  {
35  public:
37  WavFormatMap();
38 
40  virtual ~WavFormatMap() {}
41 
43  const QString &findName(unsigned int id);
44 
45  };
46 }
47 
48 #endif /* WAV_FORMAT_MAP_H */
49 
50 //***************************************************************************
51 //***************************************************************************
Definition: App.h:33
virtual ~WavFormatMap()
Definition: WavFormatMap.h:40
const QString & findName(unsigned int id)