#719: Removed Canon makernote class and pretty-print functions from the published interface.

v0.27.3
Andreas Huggel 15 years ago
parent 2462355867
commit 9c14fce52f

@ -29,7 +29,8 @@
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Private headers which are only needed for the library itself # Private headers which are only needed for the library itself
SET( LIBEXIV2_PRIVATE_HDR cr2image_int.hpp SET( LIBEXIV2_PRIVATE_HDR canonmn_int.hpp
cr2image_int.hpp
crwimage_int.hpp crwimage_int.hpp
fujimn_int.hpp fujimn_int.hpp
makernote_int.hpp makernote_int.hpp
@ -53,7 +54,6 @@ SET( LIBEXIV2_PRIVATE_HDR cr2image_int.hpp
# Add standalone C++ header files to this list # Add standalone C++ header files to this list
SET( LIBEXIV2_HDR basicio.hpp SET( LIBEXIV2_HDR basicio.hpp
bmpimage.hpp bmpimage.hpp
canonmn.hpp
convert.hpp convert.hpp
cr2image.hpp cr2image.hpp
crwimage.hpp crwimage.hpp

@ -49,7 +49,6 @@ EXIV2_RCSID("@(#) $Id$")
#include "types.hpp" #include "types.hpp"
#include "exif.hpp" #include "exif.hpp"
#include "easyaccess.hpp" #include "easyaccess.hpp"
#include "canonmn.hpp"
#include "iptc.hpp" #include "iptc.hpp"
#include "xmp.hpp" #include "xmp.hpp"
#include "preview.hpp" #include "preview.hpp"

@ -32,7 +32,7 @@ EXIV2_RCSID("@(#) $Id$")
// ***************************************************************************** // *****************************************************************************
// included header files // included header files
#include "types.hpp" #include "types.hpp"
#include "canonmn.hpp" #include "canonmn_int.hpp"
#include "value.hpp" #include "value.hpp"
#include "exif.hpp" #include "exif.hpp"
#include "i18n.h" // NLS support. #include "i18n.h" // NLS support.
@ -50,6 +50,7 @@ EXIV2_RCSID("@(#) $Id$")
// ***************************************************************************** // *****************************************************************************
// class member definitions // class member definitions
namespace Exiv2 { namespace Exiv2 {
namespace Internal {
//! OffOn, multiple tags //! OffOn, multiple tags
extern const TagDetails canonOffOn[] = { extern const TagDetails canonOffOn[] = {
@ -1387,4 +1388,4 @@ namespace Exiv2 {
return sign * (val + frac) / 32.0f; return sign * (val + frac) / 32.0f;
} }
} // namespace Exiv2 }} // namespace Internal, Exiv2

@ -19,7 +19,7 @@
* 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 canonmn.hpp @file canonmn_int.hpp
@brief Canon makernote tags.<BR>References:<BR> @brief Canon makernote tags.<BR>References:<BR>
[1] <a href="http://www.burren.cx/david/canon.html">EXIF MakerNote of Canon</a> by David Burren<br> [1] <a href="http://www.burren.cx/david/canon.html">EXIF MakerNote of Canon</a> by David Burren<br>
[2] <a href="http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Canon.html">Canon makernote tags</a> by Phil Harvey [2] <a href="http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Canon.html">Canon makernote tags</a> by Phil Harvey
@ -31,8 +31,8 @@
07-Mar-04, ahu: isolated as a separate component<BR> 07-Mar-04, ahu: isolated as a separate component<BR>
12-Aug-06, dc: started updating all tags 12-Aug-06, dc: started updating all tags
*/ */
#ifndef CANONMN_HPP_ #ifndef CANONMN_INT_HPP_
#define CANONMN_HPP_ #define CANONMN_INT_HPP_
// ***************************************************************************** // *****************************************************************************
// included header files // included header files
@ -47,16 +47,15 @@
// ***************************************************************************** // *****************************************************************************
// namespace extensions // namespace extensions
namespace Exiv2 { namespace Exiv2 {
// *****************************************************************************
// class declarations
class Value; class Value;
namespace Internal {
// ***************************************************************************** // *****************************************************************************
// class definitions // class definitions
//! MakerNote for Canon cameras //! MakerNote for Canon cameras
class EXIV2API CanonMakerNote { class CanonMakerNote {
public: public:
//! Return read-only list of built-in Canon tags //! Return read-only list of built-in Canon tags
static const TagInfo* tagList(); static const TagInfo* tagList();
@ -139,8 +138,8 @@ namespace Exiv2 {
128 -> 4 128 -> 4
143 -> 4.46875 143 -> 4.46875
*/ */
EXIV2API float canonEv(long val); float canonEv(long val);
} // namespace Exiv2 }} // namespace Internal, Exiv2
#endif // #ifndef CANONMN_HPP_ #endif // #ifndef CANONMN_INT_HPP_

@ -47,7 +47,7 @@ EXIV2_RCSID("@(#) $Id$")
#include "futils.hpp" #include "futils.hpp"
#include "value.hpp" #include "value.hpp"
#include "tags.hpp" #include "tags.hpp"
#include "canonmn.hpp" #include "canonmn_int.hpp"
#include "i18n.h" // NLS support. #include "i18n.h" // NLS support.
// + standard includes // + standard includes

@ -37,7 +37,9 @@ EXIV2_RCSID("@(#) $Id$")
#include "error.hpp" #include "error.hpp"
#include "futils.hpp" #include "futils.hpp"
#include "value.hpp" #include "value.hpp"
#include "canonmn.hpp" #include "i18n.h" // NLS support.
#include "canonmn_int.hpp"
#include "fujimn_int.hpp" #include "fujimn_int.hpp"
#include "minoltamn_int.hpp" #include "minoltamn_int.hpp"
#include "nikonmn_int.hpp" #include "nikonmn_int.hpp"
@ -46,7 +48,6 @@ EXIV2_RCSID("@(#) $Id$")
#include "pentaxmn_int.hpp" #include "pentaxmn_int.hpp"
#include "sigmamn_int.hpp" #include "sigmamn_int.hpp"
#include "sonymn_int.hpp" #include "sonymn_int.hpp"
#include "i18n.h" // NLS support.
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>

Loading…
Cancel
Save