Massive code prolog cleanup.

main
Robin Mills 4 years ago
parent 99600c6aaf
commit d632988bbd

@ -1,3 +1,23 @@
// ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#include <QCoreApplication> #include <QCoreApplication>
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>
#include <iostream> #include <iostream>

@ -18,11 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*
File: helpers.cpp
Author(s): Brad Schick (brad) <schickb@gmail.com>
History: 19-Jan-09, brad: created
*/
// ***************************************************************************** // *****************************************************************************
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>

@ -1,8 +1,7 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2009 Brad Schick <schickb@gmail.com> * Copyright (C) 2004-2021 Exiv2 authors
* * This program is part of the Exiv2 distribution.
* This file is part of the organize tool.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
@ -18,11 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*
File: helpers.hpp
Author(s): Brad Schick (brad) <schickb@gmail.com>
History: 19-Jan-09, brad: created
*/
// ***************************************************************************** // *****************************************************************************

@ -1,8 +1,7 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2009 Brad Schick <schickb@gmail.com> * Copyright (C) 2004-2021 Exiv2 authors
* * This program is part of the Exiv2 distribution.
* This file is part of the organize tool.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
@ -18,11 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*
File: organize.cpp
Author(s): Brad Schick (brad) <schickb@gmail.com>
History: 19-Jan-09, brad: created
*/
// ***************************************************************************** // *****************************************************************************
#include <boost/program_options.hpp> #include <boost/program_options.hpp>

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ********************************************************* -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,14 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file futils.hpp
@brief Basic file utility functions required by Exiv2
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@date 12-Dec-03, ahu: created<BR>
02-Apr-05, ahu: moved to Exiv2 namespace
*/
#ifndef FUTILS_HPP_ #ifndef FUTILS_HPP_
#define FUTILS_HPP_ #define FUTILS_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,14 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file gifimage.hpp
@brief GIF image, implemented using the following references:
<a href="http://www.w3.org/Graphics/GIF/spec-gif89a.txt">GIF89 specification</a> by W3C<br>
@author Marco Piovanelli, Ovolab (marco)
<a href="mailto:marco.piovanelli@pobox.com">marco.piovanelli@pobox.com</a>
@date 26-Feb-2007, marco: created
*/
#ifndef GIFIMAGE_HPP_ #ifndef GIFIMAGE_HPP_
#define GIFIMAGE_HPP_ #define GIFIMAGE_HPP_

@ -1,3 +1,23 @@
// ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#ifndef HTTP_HPP_ #ifndef HTTP_HPP_
#define HTTP_HPP_ #define HTTP_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,9 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file image.hpp
*/
#ifndef IMAGE_HPP_ #ifndef IMAGE_HPP_
#define IMAGE_HPP_ #define IMAGE_HPP_

@ -1,3 +1,23 @@
// ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
// Read an INI file into easy-to-access name/value pairs. // Read an INI file into easy-to-access name/value pairs.
// inih and INIReader are released under the New BSD license (see LICENSE.txt). // inih and INIReader are released under the New BSD license (see LICENSE.txt).

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -20,9 +20,6 @@
/*! /*!
@file iptc.hpp @file iptc.hpp
@brief Encoding and decoding of IPTC data @brief Encoding and decoding of IPTC data
@author Brad Schick (brad)
<a href="mailto:brad@robotbattle.com">brad@robotbattle.com</a>
@date 31-Jul-04, brad: created
*/ */
#ifndef IPTC_HPP_ #ifndef IPTC_HPP_
#define IPTC_HPP_ #define IPTC_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,19 +17,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file jpgimage.hpp
@brief Class JpegImage to access JPEG images
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@author Brad Schick (brad)
<a href="mailto:brad@robotbattle.com">brad@robotbattle.com</a>
@author Volker Grabsch (vog)
<a href="mailto:vog@notjusthosting.com">vog@notjusthosting.com</a>
@author Michael Ulbrich (mul)
<a href="mailto:mul@rentapacs.de">mul@rentapacs.de</a>
@date 15-Jan-05, brad: split out from image.cpp
*/
#ifndef JPGIMAGE_HPP_ #ifndef JPGIMAGE_HPP_
#define JPGIMAGE_HPP_ #define JPGIMAGE_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file matroskavideo.hpp
@brief An Image subclass to support Matroska video files
@author Abhinav Badola for GSoC 2012
<a href="mailto:mail.abu.to@gmail.com">mail.abu.to@gmail.com</a>
@date 18-Jun-12, AB: created
*/
#ifndef MATROSKAVIDEO_HPP_ #ifndef MATROSKAVIDEO_HPP_
#define MATROSKAVIDEO_HPP_ #define MATROSKAVIDEO_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,17 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file metadatum.hpp
@brief Provides abstract base classes Metadatum and Key
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@author Brad Schick (brad)
<a href="mailto:brad@robotbattle.com">brad@robotbattle.com</a>
@date 09-Jan-04, ahu: created<BR>
31-Jul-04, brad: isolated as a component<BR>
23-Aug-04, ahu: added Key
*/
#ifndef METADATUM_HPP_ #ifndef METADATUM_HPP_
#define METADATUM_HPP_ #define METADATUM_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,14 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file mrwimage.hpp
@brief Minolta RAW image, implemented using the following references:
<a href="http://www.dalibor.cz/minolta/raw_file_format.htm">Minolta Raw file format</a> by Dalibor Jelinek
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@date 13-May-06, ahu: created
*/
#ifndef MRWIMAGE_HPP_ #ifndef MRWIMAGE_HPP_
#define MRWIMAGE_HPP_ #define MRWIMAGE_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file orfimage.hpp
@brief Olympus RAW image
@author Jeff Costlow
<a href="mailto:costlow@gmail.com">costlow@gmail.com</a>
@date 31-Jul-07, costlow: created
*/
#ifndef ORFIMAGE_HPP_ #ifndef ORFIMAGE_HPP_
#define ORFIMAGE_HPP_ #define ORFIMAGE_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,16 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file pgfimage.hpp
@brief PGF image, implemented using the following references:
<a href="http://www.libpgf.org/uploads/media/PGF_stamm_wscg02.pdf">PGF specification</a> from libpgf web site<br>
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@author Gilles Caulier (cgilles)
<a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a>
@date 16-Jun-09, gc: submitted
*/
#ifndef PGFIMAGE_HPP_ #ifndef PGFIMAGE_HPP_
#define PGFIMAGE_HPP_ #define PGFIMAGE_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,17 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file pngimage.hpp
@brief PNG image, implemented using the following references:
<a href="http://www.w3.org/TR/PNG/">PNG specification</a> by W3C<br>
<a href="http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/PNG.html">PNG tags list</a> by Phil Harvey<br>
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@author Gilles Caulier (cgilles)
<a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a>
@date 12-Jun-06, gc: submitted
*/
#ifndef PNGIMAGE_HPP_ #ifndef PNGIMAGE_HPP_
#define PNGIMAGE_HPP_ #define PNGIMAGE_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file preview.hpp
@brief Classes to access all preview images embedded in an image.
@author Vladimir Nadvornik (vn)
<a href="mailto:nadvornik@suse.cz">nadvornik@suse.cz</a>
@date 18-Sep-08, vn: created
*/
#ifndef PREVIEW_HPP_ #ifndef PREVIEW_HPP_
#define PREVIEW_HPP_ #define PREVIEW_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,17 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file properties.hpp
@brief XMP property and type information.<BR>References:<BR>
<a href="http://www.adobe.com/devnet/xmp/pdfs/xmp_specification.pdf">XMP Specification</a> from Adobe
<I>(Property descriptions copied from the XMP specification with the permission of Adobe)</I>
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@author Gilles Caulier (cgilles)
<a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a>
@date 13-Jul-07, ahu: created
*/
#ifndef PROPERTIES_HPP_ #ifndef PROPERTIES_HPP_
#define PROPERTIES_HPP_ #define PROPERTIES_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,16 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file psdimage.hpp
@brief Photoshop image, implemented using the following references:
<a href="http://www.fine-view.com/jp/lab/doc/ps6ffspecsv2.pdf">Adobe Photoshop 6.0 File Format Specification</a> by Adobe<br>
@author Marco Piovanelli, Ovolab (marco)
<a href="mailto:marco.piovanelli@pobox.com">marco.piovanelli@pobox.com</a>
@author Michael Ulbrich
<a href="mailto:mul@rentapacs.de">mul@rentapacs.de</a>
@date 05-Mar-2007, marco: created
*/
#ifndef PSDIMAGE_HPP_ #ifndef PSDIMAGE_HPP_
#define PSDIMAGE_HPP_ #define PSDIMAGE_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file quicktimevideo.hpp
@brief An Image subclass to support Quick Time video files
@author Abhinav Badola for GSoC 2012
<a href="mailto:mail.abu.to@gmail.com">mail.abu.to@gmail.com</a>
@date 28-Jun-12, AB: created
*/
#ifndef QUICKTIMEVIDEO_HPP #ifndef QUICKTIMEVIDEO_HPP
#define QUICKTIMEVIDEO_HPP #define QUICKTIMEVIDEO_HPP

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file rafimage.hpp
@brief Fujifilm RAW image
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@date 05-Feb-07, ahu: created
*/
#ifndef RAFIMAGE_HPP_ #ifndef RAFIMAGE_HPP_
#define RAFIMAGE_HPP_ #define RAFIMAGE_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file riffvideo.hpp
@brief An Image subclass to support RIFF video files
@author Abhinav Badola for GSoC 2012
<a href="mailto:mail.abu.to@gmail.com">mail.abu.to@gmail.com</a>
@date 18-Jun-12, AB: created
*/
#ifndef RIFFVIDEO_HPP #ifndef RIFFVIDEO_HPP
#define RIFFVIDEO_HPP #define RIFFVIDEO_HPP

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file rw2image.hpp
@brief Class Rw2Image
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@date 06-Jan-09, ahu: created
*/
#ifndef RW2IMAGE_HPP_ #ifndef RW2IMAGE_HPP_
#define RW2IMAGE_HPP_ #define RW2IMAGE_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,7 +1,6 @@
// ********************************************************* -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 maintainers * Copyright (C) 2004-2021 Exiv2 authors
*
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -18,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file slice.hpp
@brief Simple implementation of slices (=views) for STL containers and C-arrays
@author Dan Čermák (D4N)
<a href="mailto:dan.cermak@cgc-instruments.com">dan.cermak@cgc-instruments.com</a>
@date 30-March-18, D4N: created
*/
#ifndef EXIV2_INCLUDE_SLICE_HPP #ifndef EXIV2_INCLUDE_SLICE_HPP
#define EXIV2_INCLUDE_SLICE_HPP #define EXIV2_INCLUDE_SLICE_HPP

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,14 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file tags.hpp
@brief Exif tag and type information
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@date 15-Jan-04, ahu: created<BR>
11-Feb-04, ahu: isolated as a component
*/
#ifndef TAGS_HPP_ #ifndef TAGS_HPP_
#define TAGS_HPP_ #define TAGS_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,15 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file tgaimage.hpp
@brief Truevision TARGA v2 image, implemented using the following references:
<a href="http://en.wikipedia.org/wiki/Truevision_TGA">Truevision TGA page on Wikipedia</a><br>
<a href="http://www.gamers.org/dEngine/quake3/TGA.ps.gz">TGA(tm) File Format Specification</a>
@author Marco Piovanelli, Ovolab (marco)
<a href="mailto:marco.piovanelli@pobox.com">marco.piovanelli@pobox.com</a>
@date 05-Mar-2007, marco: created
*/
#ifndef TGAIMAGE_HPP_ #ifndef TGAIMAGE_HPP_
#define TGAIMAGE_HPP_ #define TGAIMAGE_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,9 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*
File: tiffimage.hpp
*/
#ifndef TIFFIMAGE_HPP_ #ifndef TIFFIMAGE_HPP_
#define TIFFIMAGE_HPP_ #define TIFFIMAGE_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,15 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file types.hpp
@brief Type definitions for %Exiv2 and related functionality
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@date 09-Jan-04, ahu: created<BR>
11-Feb-04, ahu: isolated as a component<BR>
31-Jul-04, brad: added Time, Data and String values
*/
#ifndef TYPES_HPP_ #ifndef TYPES_HPP_
#define TYPES_HPP_ #define TYPES_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -22,7 +22,6 @@
#define UTILSVIDEO_HPP_ #define UTILSVIDEO_HPP_
#include "exiv2lib_export.h" #include "exiv2lib_export.h"
#include "exif.hpp" #include "exif.hpp"
namespace Exiv2 namespace Exiv2

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,15 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file value.hpp
@brief Value interface and concrete subclasses
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@date 09-Jan-04, ahu: created
11-Feb-04, ahu: isolated as a component
31-Jul-04, brad: added Time, Data and String values
*/
#ifndef VALUE_HPP_ #ifndef VALUE_HPP_
#define VALUE_HPP_ #define VALUE_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,16 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file version.hpp
@brief Precompiler define and a function to test the %Exiv2 version.
References: Similar versioning defines are used in KDE, GTK and other
libraries. See http://apr.apache.org/versioning.html for accompanying
guidelines.
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@date 31-May-06, ahu: created
*/
#ifndef VERSION_HPP_ #ifndef VERSION_HPP_
#define VERSION_HPP_ #define VERSION_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file webpimage.hpp
@brief An Image subclass to support WEBP image files
@author Ben Touchette
<a href="mailto:draekko.software+exiv2@gmail.com">draekko.software+exiv2@gmail.com</a>
@date 29-Jul-16
*/
#ifndef WEBPIMAGE_HPP #ifndef WEBPIMAGE_HPP
#define WEBPIMAGE_HPP #define WEBPIMAGE_HPP

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file xmp.hpp
@brief Encoding and decoding of XMP data
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@date 13-Jul-07, ahu: created
*/
#ifndef XMP_HPP_ #ifndef XMP_HPP_
#define XMP_HPP_ #define XMP_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file xmpsidecar.hpp
@brief An Image subclass to support XMP sidecar files
@author Andreas Huggel
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@date 07-Mar-08, ahu: created
*/
#ifndef XMPSIDECAR_HPP_ #ifndef XMPSIDECAR_HPP_
#define XMPSIDECAR_HPP_ #define XMPSIDECAR_HPP_

@ -1,3 +1,23 @@
// ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
/* /*
Copyright (c) 2013 Johannes Häggqvist Copyright (c) 2013 Johannes Häggqvist

@ -4,6 +4,25 @@
// g++ geotag.cpp -o geotag -lexiv2 -lexpat // g++ geotag.cpp -o geotag -lexiv2 -lexpat
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>
#include "unused.h" #include "unused.h"

@ -1,4 +1,22 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
// getopt-test.cpp // getopt-test.cpp
// Sample program to test getopt() // Sample program to test getopt()
// Command: // Command:

@ -1,4 +1,22 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
/* /*
httptest.cpp httptest.cpp
This application is to test http.cpp. It provides the function to GET|HEAD|PUT the file via http protocol. This application is to test http.cpp. It provides the function to GET|HEAD|PUT the file via http protocol.

@ -1,3 +1,24 @@
// ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
/* /*
670 rmills@rmillsmbp:~/gnu/exiv2/trunk/samples $ gcc ../src/ini.cpp ini-test.cpp -lstdc++ -o ini-test 670 rmills@rmillsmbp:~/gnu/exiv2/trunk/samples $ gcc ../src/ini.cpp ini-test.cpp -lstdc++ -o ini-test
671 rmills@rmillsmbp:~/gnu/exiv2/trunk/samples $ ./ini-test 671 rmills@rmillsmbp:~/gnu/exiv2/trunk/samples $ ./ini-test

@ -1,5 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -16,14 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*
Abstract : Tester application for BasicIo functions. Tests MemIo primarily
since FileIo just sits atop of FILE* streams.
File : iotest.cpp
Author(s): Brad Schick (brad) <brad@robotbattle.com>
History : 04-Dec-04, brad: created
*/
// ***************************************************************************** // *****************************************************************************
// included header files // included header files
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>

@ -1,6 +1,24 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
// iptceasy.cpp // iptceasy.cpp
// The quickest way to access, set or modify IPTC metadata. // The quickest way to access, set or modify IPTC metadata.
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>

@ -1,6 +1,24 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
// iptcprint.cpp // iptcprint.cpp
// Sample program to print the IPTC metadata of an image // Sample program to print the IPTC metadata of an image
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>

@ -1,11 +1,21 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
Abstract : Sample program test the Iptc reading and writing. * Copyright (C) 2004-2021 Exiv2 authors
This is not designed to be a robust application. * This program is part of the Exiv2 distribution.
*
File : iptctest.cpp * This program is free software; you can redistribute it and/or
Author(s): Brad Schick (brad) <brad@robotbattle.com> * modify it under the terms of the GNU General Public License
History : 01-Aug-04, brad: created * as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
// ***************************************************************************** // *****************************************************************************
// included header files // included header files

@ -1,11 +1,21 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
Abstract : Key unit tests * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
File : key-test.cpp *
Author(s): Andreas Huggel (ahu) <ahuggel@gmx.net> * This program is free software; you can redistribute it and/or
History : 24-Aug-04, ahu: created * modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
// ***************************************************************************** // *****************************************************************************
// included header files // included header files

@ -1,5 +1,24 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
// Test for large (>65535 bytes) IPTC buffer // Test for large (>65535 bytes) IPTC buffer
// ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>

@ -1,5 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -16,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*
Abstract : Tester application for image file handling
File : metacopy.cpp
Author(s): Brad Schick (brad) <brad@robotbattle.com>
History : 13-Jul-04, brad: created
*/
// ***************************************************************************** // *****************************************************************************
// included header files // included header files
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>

@ -1,5 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -16,12 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file metacopy.hpp
@brief Defines class Params, used for the command line handling
@author Brad Schick (brad) <brad@robotbattle.com>
@date 13-Jul-04, brad: created
*/
#ifndef METACOPY_HPP_ #ifndef METACOPY_HPP_
#define METACOPY_HPP_ #define METACOPY_HPP_

@ -1,6 +1,24 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
// mmap-test.cpp // mmap-test.cpp
// Simple mmap tests // Simple mmap tests
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>

@ -1,6 +1,24 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
// mrwthumb.cpp // mrwthumb.cpp
// Sample program to extract a Minolta thumbnail from the makernote // Sample program to extract a Minolta thumbnail from the makernote
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#include "error.hpp" #include "error.hpp"
#include "exif.hpp" #include "exif.hpp"

@ -1,6 +1,24 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
// mt-test.cpp // mt-test.cpp
// Sample multi-threading program // Sample multi-threading program
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
// Discussion: http://dev.exiv2.org/issues/1207 // Discussion: http://dev.exiv2.org/issues/1207
// Caution: This code isn't currently exercised by any bash script in the test suite // Caution: This code isn't currently exercised by any bash script in the test suite

@ -1,5 +1,23 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
// path-test.cpp // path-test.cpp
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>

@ -1,6 +1,24 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
// prevtest.cpp // prevtest.cpp
// Test access to preview images // Test access to preview images
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>

@ -3,6 +3,24 @@
// Tester application for testing remote i/o. // Tester application for testing remote i/o.
// It makes some modifications on the metadata of remote file, reads new metadata from that file // It makes some modifications on the metadata of remote file, reads new metadata from that file
// and reset the metadata back to the original status. // and reset the metadata back to the original status.
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>

@ -1,6 +1,24 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
// stringto-test.cpp // stringto-test.cpp
// Test conversions from string to long, float and Rational types. // Test conversions from string to long, float and Rational types.
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>

@ -1,12 +1,22 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
Abstract: Print a simple comma separated list of tags defined in Exiv2 * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
File: taglist.cpp *
Author(s): Andreas Huggel (ahu) <ahuggel@gmx.net> * This program is free software; you can redistribute it and/or
History: 07-Jan-04, ahu: created * modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
// *****************************************************************************
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>

@ -1,4 +1,23 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
// tiff-test.cpp // tiff-test.cpp
// First and very simple TIFF write test. // First and very simple TIFF write test.

@ -1,4 +1,22 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
// tiffaddpath-test.cpp // tiffaddpath-test.cpp
// Test driver to test adding new tags to a TIFF composite structure // Test driver to test adding new tags to a TIFF composite structure

@ -18,9 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*
Abstract : Test application to extract metadata from image to exv file
*/
// ***************************************************************************** // *****************************************************************************
// included header files // included header files
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>

@ -1,3 +1,23 @@
// ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
// werror-test.cpp // werror-test.cpp
// Simple tests for the wide-string error class WError // Simple tests for the wide-string error class WError

@ -1,16 +1,21 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
Abstract : ExifData write unit tests * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
Author(s): Andreas Huggel (ahu) <ahuggel@gmx.net> *
* This program is free software; you can redistribute it and/or
Test procedure: * modify it under the terms of the GNU General Public License
$ rm -f test.jpg thumb.jpg iii ttt; * as published by the Free Software Foundation; either version 2
$ ./exifprint ../test/img_1771.jpg > iii; * of the License, or (at your option) any later version.
$ cp ../test/img_1771.jpg ./test.jpg; *
$ ./makernote-test2 ../test/img_1771.jpg > ttt; * This program is distributed in the hope that it will be useful,
$ diff iii ttt * 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
// ***************************************************************************** // *****************************************************************************
// included header files // included header files

@ -1,11 +1,21 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
Abstract : ExifData write unit tests for Exif data created from scratch * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
File : write2-test.cpp *
Author(s): Andreas Huggel (ahu) <ahuggel@gmx.net> * This program is free software; you can redistribute it and/or
History : 26-Jun-04, ahu: created * modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
// ***************************************************************************** // *****************************************************************************
// included header files // included header files

@ -1,4 +1,23 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
// xmpdump.cpp // xmpdump.cpp
// Sample program to dump the XMP packet of an image // Sample program to dump the XMP packet of an image
#include <exiv2/exiv2.hpp> #include <exiv2/exiv2.hpp>

@ -1,4 +1,22 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
// xmpparse.cpp // xmpparse.cpp
// Read an XMP packet from a file, parse it and print all (known) properties. // Read an XMP packet from a file, parse it and print all (known) properties.

@ -1,4 +1,22 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
// xmpparser-test.cpp // xmpparser-test.cpp
// Read an XMP packet from a file, parse and re-serialize it. // Read an XMP packet from a file, parse and re-serialize it.

@ -1,4 +1,23 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
// xmpprint.cpp // xmpprint.cpp
// Read an XMP from a video or graphic file, parse it and print // Read an XMP from a video or graphic file, parse it and print
// all (known) properties. // all (known) properties.

@ -1,4 +1,22 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
// xmpsample.cpp // xmpsample.cpp
// Sample/test for high level XMP classes. See also addmoddel.cpp // Sample/test for high level XMP classes. See also addmoddel.cpp

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2020 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,3 +1,23 @@
// ***************************************************************** -*- C++ -*-
/*
* Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
#include "crwimage_int.hpp" #include "crwimage_int.hpp"
#include "canonmn_int.hpp" #include "canonmn_int.hpp"
#include "i18n.h" // NLS support. #include "i18n.h" // NLS support.

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file crwimage_int.hpp
@brief Internal classes to support CRW/CIFF format.
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel@gmx.net">ahuggel@gmx.net</a>
@date 28-Aug-05, ahu: created
*/
#ifndef CRWIMAGE_INT_HPP_ #ifndef CRWIMAGE_INT_HPP_
#define CRWIMAGE_INT_HPP_ #define CRWIMAGE_INT_HPP_

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

@ -1,6 +1,6 @@
// ********************************************************* -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -17,13 +17,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/ */
/*!
@file enforce.hpp
@brief Port of D's enforce() to C++ & Exiv2
@author Dan Čermák (D4N)
<a href="mailto:dan.cermak@cgc-instruments.com">dan.cermak@cgc-instruments.com</a>
@date 11-March-18, D4N: created
*/
#include <string> #include <string>

@ -1,6 +1,6 @@
// ***************************************************************** -*- C++ -*- // ***************************************************************** -*- C++ -*-
/* /*
* Copyright (C) 2004-2018 Exiv2 authors * Copyright (C) 2004-2021 Exiv2 authors
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save