1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-06 04:00:08 +00:00

Minor clean-ups.

This commit is contained in:
Julian Storer 2010-01-04 15:24:13 +00:00
parent c7957d7d1e
commit 8bf4d88d97
90 changed files with 1681 additions and 1717 deletions

View file

@ -34,11 +34,11 @@ BEGIN_JUCE_NAMESPACE
#include "image_file_formats/juce_GIFLoader.h"
//==============================================================================
Image* juce_loadPNGImageFromStream (InputStream& inputStream) throw();
bool juce_writePNGImageToStream (const Image& image, OutputStream& out) throw();
Image* juce_loadPNGImageFromStream (InputStream& inputStream);
bool juce_writePNGImageToStream (const Image& image, OutputStream& out);
PNGImageFormat::PNGImageFormat() throw() {}
PNGImageFormat::~PNGImageFormat() throw() {}
PNGImageFormat::PNGImageFormat() {}
PNGImageFormat::~PNGImageFormat() {}
const String PNGImageFormat::getFormatName()
{
@ -68,15 +68,15 @@ bool PNGImageFormat::writeImageToStream (const Image& sourceImage,
}
//==============================================================================
Image* juce_loadJPEGImageFromStream (InputStream& inputStream) throw();
bool juce_writeJPEGImageToStream (const Image& image, OutputStream& out, float quality) throw();
Image* juce_loadJPEGImageFromStream (InputStream& inputStream);
bool juce_writeJPEGImageToStream (const Image& image, OutputStream& out, float quality);
JPEGImageFormat::JPEGImageFormat() throw()
JPEGImageFormat::JPEGImageFormat()
: quality (-1.0f)
{
}
JPEGImageFormat::~JPEGImageFormat() throw() {}
JPEGImageFormat::~JPEGImageFormat() {}
void JPEGImageFormat::setQuality (const float newQuality)
{
@ -120,8 +120,8 @@ bool JPEGImageFormat::writeImageToStream (const Image& sourceImage,
class GIFImageFormat : public ImageFileFormat
{
public:
GIFImageFormat() throw() {}
~GIFImageFormat() throw() {}
GIFImageFormat() {}
~GIFImageFormat() {}
const String getFormatName()
{