X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=inline;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_png%2Fmptr_png.cpp;h=b485f2729108708b99c7c8097c8311faba6d1051;hb=209616e15eddffdbcc0f2710301d21906160cd10;hp=ddf339dda2b2bed6557813f46f77318a21452ac3;hpb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp index ddf339d..b485f27 100644 --- a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp +++ b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp @@ -1,8 +1,10 @@ -/*! ======================================================================== -** Synfig -** ppm Target Module -** $Id: mptr_png.cpp,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $ +/* === S Y N F I G ========================================================= */ +/*! \file mptr_png.cpp +** \brief ppm Target Module ** +** $Id$ +** +** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** ** This package is free software; you can redistribute it and/or @@ -14,6 +16,7 @@ ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ** General Public License for more details. +** \endlegal ** ** === N O T E S =========================================================== ** @@ -59,12 +62,12 @@ SYNFIG_IMPORTER_INIT(png_mptr); SYNFIG_IMPORTER_SET_NAME(png_mptr,"png"); SYNFIG_IMPORTER_SET_EXT(png_mptr,"png"); SYNFIG_IMPORTER_SET_VERSION(png_mptr,"0.1"); -SYNFIG_IMPORTER_SET_CVS_ID(png_mptr,"$Id: mptr_png.cpp,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $"); +SYNFIG_IMPORTER_SET_CVS_ID(png_mptr,"$Id$"); /* === M E T H O D S ======================================================= */ void -png_mptr::png_out_error(png_struct *png_data,const char *msg) +png_mptr::png_out_error(png_struct */*png_data*/,const char *msg) { //png_mptr *me=(png_mptr*)png_data->error_ptr; synfig::error(strprintf("png_mptr: error: %s",msg)); @@ -72,7 +75,7 @@ png_mptr::png_out_error(png_struct *png_data,const char *msg) } void -png_mptr::png_out_warning(png_struct *png_data,const char *msg) +png_mptr::png_out_warning(png_struct */*png_data*/,const char *msg) { //png_mptr *me=(png_mptr*)png_data->error_ptr; synfig::warning(strprintf("png_mptr: warning: %s",msg)); @@ -80,7 +83,7 @@ png_mptr::png_out_warning(png_struct *png_data,const char *msg) } int -png_mptr::read_chunk_callback(png_struct *png_data, png_unknown_chunkp chunk) +png_mptr::read_chunk_callback(png_struct */*png_data*/, png_unknown_chunkp /*chunk*/) { /* The unknown chunk structure contains your chunk data: */ @@ -323,7 +326,7 @@ png_mptr::~png_mptr() } bool -png_mptr::get_frame(synfig::Surface &surface,Time, synfig::ProgressCallback *cb) +png_mptr::get_frame(synfig::Surface &surface,Time, synfig::ProgressCallback */*cb*/) { surface.mirror(surface_buffer); // surface=surface_buffer;