kwave  18.07.70
AudiofileCodecPlugin.cpp
Go to the documentation of this file.
1 /*************************************************************************
2  AudiofileCodecPlugin.cpp - import/export through libaudiofile
3  -------------------
4  begin : Tue May 28 2002
5  copyright : (C) 2002 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 #include "config.h"
19 #include <KLocalizedString>
20 
21 #include "libkwave/PluginManager.h"
22 
23 #include "AudiofileCodecPlugin.h"
24 #include "AudiofileDecoder.h"
25 
26 // static instance of the codec container
28 
29 KWAVE_PLUGIN(codec_audiofile, AudiofileCodecPlugin)
30 
31 /***************************************************************************/
33  const QVariantList &args)
34  :Kwave::CodecPlugin(parent, args, m_codec)
35 {
36 }
37 
38 /***************************************************************************/
40 {
41 }
42 
43 /***************************************************************************/
45 {
46  return singleDecoder<Kwave::AudiofileDecoder>();
47 }
48 
49 /***************************************************************************/
51 {
52  return QList<Kwave::Encoder *>(); /* not implemented */
53 }
54 
55 /***************************************************************************/
56 #include "AudiofileCodecPlugin.moc"
57 /***************************************************************************/
58 /***************************************************************************/
Definition: App.h:33
virtual QList< Kwave::Decoder * > createDecoder() Q_DECL_OVERRIDE
virtual ~AudiofileCodecPlugin() Q_DECL_OVERRIDE
#define EMPTY_CODEC
Definition: CodecPlugin.h:113
static CodecPlugin::Codec m_codec
#define KWAVE_PLUGIN(name, class)
Definition: Plugin.h:54
virtual QList< Kwave::Encoder * > createEncoder() Q_DECL_OVERRIDE