libxspf
1.2.0
home
ichiro
data
ssd
Momonga
trunk
pkgs
libxspf
BUILD
libxspf-1.2.0
include
xspf
ProjectOpus
ProjectOpusPlaylistExtensionReader.h
Go to the documentation of this file.
1
/*
2
* libxspf - XSPF playlist handling library
3
*
4
* Copyright (C) 2006-2008, Sebastian Pipping / Xiph.Org Foundation
5
* All rights reserved.
6
*
7
* Redistribution and use in source and binary forms, with or without
8
* modification, are permitted provided that the following conditions
9
* are met:
10
*
11
* * Redistributions of source code must retain the above
12
* copyright notice, this list of conditions and the following
13
* disclaimer.
14
*
15
* * Redistributions in binary form must reproduce the above
16
* copyright notice, this list of conditions and the following
17
* disclaimer in the documentation and/or other materials
18
* provided with the distribution.
19
*
20
* * Neither the name of the Xiph.Org Foundation nor the names of
21
* its contributors may be used to endorse or promote products
22
* derived from this software without specific prior written
23
* permission.
24
*
25
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
28
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
29
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
30
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
31
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
32
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
34
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
36
* OF THE POSSIBILITY OF SUCH DAMAGE.
37
*
38
* Sebastian Pipping, sping@xiph.org
39
*/
40
46
#ifndef XSPF_PROJECT_OPUS_PLAYLIST_EXTENSION_READER_H
47
#define XSPF_PROJECT_OPUS_PLAYLIST_EXTENSION_READER_H
48
49
50
#include "../XspfExtensionReader.h"
51
52
namespace
Xspf
{
53
namespace
ProjectOpus {
54
55
56
class
ProjectOpusPlaylistExtensionReaderPrivate;
57
58
62
class
ProjectOpusPlaylistExtensionReader
:
public
XspfExtensionReader
{
63
64
private
:
66
ProjectOpusPlaylistExtensionReaderPrivate *
const
d;
67
69
public
:
75
ProjectOpusPlaylistExtensionReader
(
XspfReader
* reader);
76
82
ProjectOpusPlaylistExtensionReader
(
ProjectOpusPlaylistExtensionReader
const
& source);
83
89
ProjectOpusPlaylistExtensionReader
&
operator=
(
ProjectOpusPlaylistExtensionReader
const
& source);
90
94
~ProjectOpusPlaylistExtensionReader
();
95
96
private
:
97
bool
handleExtensionStart(XML_Char
const
* fullName,
98
XML_Char
const
** atts);
99
bool
handleExtensionEnd(XML_Char
const
* fullName);
100
bool
handleExtensionCharacters(XML_Char
const
* s,
int
len);
101
XspfExtension
* wrap();
102
XspfExtensionReader
* createBrother(
XspfReader
* reader)
const
;
103
110
bool
handleInfoAttribs(XML_Char
const
** atts);
111
112
};
113
114
115
}
116
}
117
118
#endif // XSPF_PROJECT_OPUS_PLAYLIST_EXTENSION_READER_H
Xspf::ProjectOpus::ProjectOpusPlaylistExtensionReader
Definition:
ProjectOpusPlaylistExtensionReader.h:62
Xspf::ProjectOpus::ProjectOpusPlaylistExtensionReader::~ProjectOpusPlaylistExtensionReader
~ProjectOpusPlaylistExtensionReader()
Xspf::XspfExtensionReader
Definition:
XspfExtensionReader.h:66
Xspf::XspfReader
Definition:
XspfReader.h:209
Xspf
Definition:
ProjectOpusPlaylistExtension.h:52
Xspf::ProjectOpus::ProjectOpusPlaylistExtensionReader::ProjectOpusPlaylistExtensionReader
ProjectOpusPlaylistExtensionReader(XspfReader *reader)
Xspf::XspfExtension
Definition:
XspfExtension.h:65
Xspf::ProjectOpus::ProjectOpusPlaylistExtensionReader::operator=
ProjectOpusPlaylistExtensionReader & operator=(ProjectOpusPlaylistExtensionReader const &source)
Generated by
1.8.13