2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-16 01:27:07 +00:00
qpdf/libqpdf/Pipeline.cc
Jay Berkenbilt 1e74c03acd stick DLL_EXPORT in front of every public method of every public class
git-svn-id: svn+q:///qpdf/trunk@688 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-08-06 19:00:25 +00:00

28 lines
417 B
C++

#include <qpdf/Pipeline.hh>
DLL_EXPORT
Pipeline::Pipeline(char const* identifier, Pipeline* next) :
identifier(identifier),
next(next)
{
}
DLL_EXPORT
Pipeline::~Pipeline()
{
}
Pipeline*
Pipeline::getNext(bool allow_null)
{
if ((next == 0) && (! allow_null))
{
throw Exception(
this->identifier +
": Pipeline::getNext() called on pipeline with no next");
}
return this->next;
}