Commit 53e0016b authored by Albert Astals Cid's avatar Albert Astals Cid

Add virtual destructor to ImgWriter

parent 699dcacc
......@@ -145,6 +145,7 @@ set(poppler_SRCS
goo/FixedPoint.cc
goo/PNGWriter.cc
goo/JpegWriter.cc
goo/ImgWriter.cc
goo/gstrtod.cc
fofi/FoFiBase.cc
fofi/FoFiEncodings.cc
......
//========================================================================
//
// ImgWriter.cpp
//
// This file is licensed under the GPLv2 or later
//
// Copyright (C) 2009 Albert Astals Cid <aacid@kde.org>
//
//========================================================================
#include "ImgWriter.h"
ImgWriter::~ImgWriter()
{
}
......@@ -5,6 +5,7 @@
// This file is licensed under the GPLv2 or later
//
// Copyright (C) 2009 Stefan Thomas <thomas@eload24.com>
// Copyright (C) 2009 Albert Astals Cid <aacid@kde.org>
//
//========================================================================
......@@ -17,6 +18,7 @@
class ImgWriter
{
public:
virtual ~ImgWriter();
virtual bool init(FILE *f, int width, int height) = 0;
virtual bool writePointers(unsigned char **rowPointers, int rowCount) = 0;
......
......@@ -34,4 +34,5 @@ libgoo_la_SOURCES = \
FixedPoint.cc \
PNGWriter.cc \
JpegWriter.cc \
goo/ImgWriter.cc \
gstrtod.cc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment