uint endTime;
uint startOffset;
uint endOffset;
- const FrameFactory *factory;
FrameListMap embeddedFrameListMap;
FrameList embeddedFrameList;
};
ID3v2::Frame(data)
{
d = new ChapterFramePrivate;
- d->factory = FrameFactory::instance();
setData(data);
}
FrameList l = eF;
for(FrameList::ConstIterator it = l.begin(); it != l.end(); ++it)
addEmbeddedFrame(*it);
- d->factory = FrameFactory::instance();
}
ChapterFrame::~ChapterFrame()
size -= pos;
while((uint)embPos < size - Frame::headerSize(4))
{
- Frame *frame = d->factory->createFrame(data.mid(pos + embPos));
+ Frame *frame = FrameFactory::instance()->createFrame(data.mid(pos + embPos));
if(!frame)
return;
Frame(h)
{
d = new ChapterFramePrivate;
- d->factory = FrameFactory::instance();
parseFields(fieldData(data));
}
bool isTopLevel;
bool isOrdered;
ByteVectorList childElements;
- const FrameFactory *factory;
FrameListMap embeddedFrameListMap;
FrameList embeddedFrameList;
};
ID3v2::Frame(data)
{
d = new TableOfContentsFramePrivate;
- d->factory = FrameFactory::instance();
setData(data);
}
FrameList l = eF;
for(FrameList::ConstIterator it = l.begin(); it != l.end(); ++it)
addEmbeddedFrame(*it);
- d->factory = FrameFactory::instance();
}
TableOfContentsFrame::~TableOfContentsFrame()
size -= pos;
while((uint)embPos < size - Frame::headerSize(4))
{
- Frame *frame = d->factory->createFrame(data.mid(pos + embPos));
+ Frame *frame = FrameFactory::instance()->createFrame(data.mid(pos + embPos));
if(!frame)
return;
Frame(h)
{
d = new TableOfContentsFramePrivate;
- d->factory = FrameFactory::instance();
parseFields(fieldData(data));
}