TagLib 1.8.0 (speexfile.h Source File)
Home
Class Hierarchy
Namespaces
Classes
Headers
Namespace Members
Class Members
File Members
taglib
ogg
speex
speexfile.h
Go to the documentation of this file.
1
/***************************************************************************
2
copyright : (C) 2006 by Lukáš Lalinský
3
email : lalinsky@gmail.com
4
5
copyright : (C) 2002 - 2008 by Scott Wheeler
6
email : wheeler@kde.org
7
(original Vorbis implementation)
8
***************************************************************************/
9
10
/***************************************************************************
11
* This library is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU Lesser General Public License version *
13
* 2.1 as published by the Free Software Foundation. *
14
* *
15
* This library is distributed in the hope that it will be useful, but *
16
* WITHOUT ANY WARRANTY; without even the implied warranty of *
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
18
* Lesser General Public License for more details. *
19
* *
20
* You should have received a copy of the GNU Lesser General Public *
21
* License along with this library; if not, write to the Free Software *
22
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA *
23
* 02110-1301 USA *
24
* *
25
* Alternatively, this file is available under the Mozilla Public *
26
* License Version 1.1. You may obtain a copy of the License at *
27
* http://www.mozilla.org/MPL/ *
28
***************************************************************************/
29
30
#ifndef TAGLIB_SPEEXFILE_H
31
#define TAGLIB_SPEEXFILE_H
32
33
#include "
oggfile.h
"
34
#include "
xiphcomment.h
"
35
36
#include "
speexproperties.h
"
37
38
namespace
TagLib {
39
40
namespace
Ogg {
41
43
44
namespace
Speex {
45
47
55
class
TAGLIB_EXPORT
File
:
public
Ogg::File
56
{
57
public
:
63
File
(
FileName
file,
bool
readProperties =
true
,
64
Properties::ReadStyle
propertiesStyle =
Properties::Average
);
65
74
File
(
IOStream
*stream,
bool
readProperties =
true
,
75
Properties::ReadStyle
propertiesStyle =
Properties::Average
);
76
80
virtual
~
File
();
81
87
virtual
Ogg::XiphComment
*tag()
const
;
88
93
virtual
Properties
*audioProperties()
const
;
94
95
virtual
bool
save();
96
97
private
:
98
File
(
const
File
&);
99
File
&operator=(
const
File
&);
100
101
void
read(
bool
readProperties,
Properties::ReadStyle
propertiesStyle);
102
103
class
FilePrivate;
104
FilePrivate *d;
105
};
106
}
107
}
108
}
109
110
#endif