kwave
18.07.70
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
f
h
i
l
m
o
p
r
s
t
u
w
y
z
Functions
Typedefs
Enumerations
+
Enumerator
a
b
c
f
i
l
o
p
r
s
u
w
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
+
Variables
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
x
y
z
Typedefs
Enumerations
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
i
l
m
p
q
r
s
t
x
z
Variables
Typedefs
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Decoder.h
Go to the documentation of this file.
1
/***************************************************************************
2
Decoder.h - abstract base class of all decoders
3
-------------------
4
begin : Mar 10 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 DECODER_H
19
#define DECODER_H
20
21
#include "config.h"
22
23
#include <QtGlobal>
24
#include <QObject>
25
26
#include "
libkwave/CodecBase.h
"
27
#include "
libkwave/MetaDataList.h
"
28
29
class
QIODevice;
30
class
QWidget;
31
32
namespace
Kwave
33
{
34
35
class
MultiWriter;
36
37
class
Q_DECL_EXPORT
Decoder
:
public
QObject,
public
Kwave::CodecBase
38
{
39
Q_OBJECT
40
public
:
41
43
Decoder
();
44
46
virtual
~
Decoder
();
47
49
virtual
Decoder
*instance() = 0;
50
58
virtual
bool
open(QWidget *widget, QIODevice &source) = 0;
59
67
virtual
bool
decode(QWidget *widget,
Kwave::MultiWriter
&dst) = 0;
68
72
virtual
void
close() = 0;
73
78
virtual
inline
Kwave::MetaDataList
&
metaData
() {
return
m_meta_data; }
79
80
signals:
81
88
void
sourceProcessed(quint64 pos);
89
90
protected
:
91
93
Kwave::MetaDataList
m_meta_data
;
94
95
};
96
}
97
98
#endif
/* DECODER_H */
99
100
//***************************************************************************
101
//***************************************************************************
Kwave
Definition:
App.h:33
Kwave::CodecBase
Definition:
CodecBase.h:36
Kwave::Decoder
Definition:
Decoder.h:37
Kwave::Decoder::metaData
virtual Kwave::MetaDataList & metaData()
Definition:
Decoder.h:78
MetaDataList.h
Kwave::MultiWriter
Definition:
MultiWriter.h:38
CodecBase.h
Kwave::Decoder::m_meta_data
Kwave::MetaDataList m_meta_data
Definition:
Decoder.h:93
Kwave::MetaDataList
Definition:
MetaDataList.h:36
libkwave
Decoder.h
Generated on Sat Mar 24 2018 09:10:25 for kwave by
1.8.13