2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-10 15:20:54 +00:00
qpdf/libqpdf/Pl_Concatenate.cc
Jay Berkenbilt 79f6b4823b Convert remaining public classes to use Members pattern
Have classes contain only a single private member of type
PointerHolder<Members>. This makes it safe to change the structure of
the Members class without breaking binary compatibility. Many of the
classes already follow this pattern quite successfully. This brings in
the rest of the class that are part of the public API.
2019-06-22 10:13:27 -04:00

37 lines
463 B
C++

#include <qpdf/Pl_Concatenate.hh>
Pl_Concatenate::Members::Members()
{
}
Pl_Concatenate::Members::~Members()
{
}
Pl_Concatenate::Pl_Concatenate(char const* identifier, Pipeline* next) :
Pipeline(identifier, next)
{
}
Pl_Concatenate::~Pl_Concatenate()
{
}
void
Pl_Concatenate::write(unsigned char* data, size_t len)
{
getNext()->write(data, len);
}
void
Pl_Concatenate::finish()
{
}
void
Pl_Concatenate::manualFinish()
{
getNext()->finish();
}