[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:41:52 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=9c14fce
The following commit has been merged in the master branch:
commit 9c14fce52f5b1b079966beda7ffd6e01af7bfa86
Author: Andreas Huggel <ahuggel at gmx.net>
Date: Sat Aug 14 13:53:17 2010 +0000
#719: Removed Canon makernote class and pretty-print functions from the published interface.
---
src/CMakeLists.txt | 4 ++--
src/actions.cpp | 1 -
src/canonmn.cpp | 5 +++--
src/{canonmn.hpp => canonmn_int.hpp} | 19 +++++++++----------
src/crwimage.cpp | 2 +-
src/tags.cpp | 5 +++--
6 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 48f7e13..7af4cb9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -29,7 +29,8 @@
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 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
fujimn_int.hpp
makernote_int.hpp
@@ -53,7 +54,6 @@ SET( LIBEXIV2_PRIVATE_HDR cr2image_int.hpp
# Add standalone C++ header files to this list
SET( LIBEXIV2_HDR basicio.hpp
bmpimage.hpp
- canonmn.hpp
convert.hpp
cr2image.hpp
crwimage.hpp
diff --git a/src/actions.cpp b/src/actions.cpp
index d8b2b50..4a62aff 100644
--- a/src/actions.cpp
+++ b/src/actions.cpp
@@ -49,7 +49,6 @@ EXIV2_RCSID("@(#) $Id$")
#include "types.hpp"
#include "exif.hpp"
#include "easyaccess.hpp"
-#include "canonmn.hpp"
#include "iptc.hpp"
#include "xmp.hpp"
#include "preview.hpp"
diff --git a/src/canonmn.cpp b/src/canonmn.cpp
index dc8db62..8cc2479 100644
--- a/src/canonmn.cpp
+++ b/src/canonmn.cpp
@@ -32,7 +32,7 @@ EXIV2_RCSID("@(#) $Id$")
// *****************************************************************************
// included header files
#include "types.hpp"
-#include "canonmn.hpp"
+#include "canonmn_int.hpp"
#include "value.hpp"
#include "exif.hpp"
#include "i18n.h" // NLS support.
@@ -50,6 +50,7 @@ EXIV2_RCSID("@(#) $Id$")
// *****************************************************************************
// class member definitions
namespace Exiv2 {
+ namespace Internal {
//! OffOn, multiple tags
extern const TagDetails canonOffOn[] = {
@@ -1387,4 +1388,4 @@ namespace Exiv2 {
return sign * (val + frac) / 32.0f;
}
-} // namespace Exiv2
+}} // namespace Internal, Exiv2
diff --git a/src/canonmn.hpp b/src/canonmn_int.hpp
similarity index 94%
rename from src/canonmn.hpp
rename to src/canonmn_int.hpp
index 6e1e5bb..2bec003 100644
--- a/src/canonmn.hpp
+++ b/src/canonmn_int.hpp
@@ -19,7 +19,7 @@
* 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>
[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
@@ -31,8 +31,8 @@
07-Mar-04, ahu: isolated as a separate component<BR>
12-Aug-06, dc: started updating all tags
*/
-#ifndef CANONMN_HPP_
-#define CANONMN_HPP_
+#ifndef CANONMN_INT_HPP_
+#define CANONMN_INT_HPP_
// *****************************************************************************
// included header files
@@ -47,16 +47,15 @@
// *****************************************************************************
// namespace extensions
namespace Exiv2 {
-
-// *****************************************************************************
-// class declarations
class Value;
+ namespace Internal {
+
// *****************************************************************************
// class definitions
//! MakerNote for Canon cameras
- class EXIV2API CanonMakerNote {
+ class CanonMakerNote {
public:
//! Return read-only list of built-in Canon tags
static const TagInfo* tagList();
@@ -139,8 +138,8 @@ namespace Exiv2 {
128 -> 4
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_
diff --git a/src/crwimage.cpp b/src/crwimage.cpp
index 24a9432..813140c 100644
--- a/src/crwimage.cpp
+++ b/src/crwimage.cpp
@@ -47,7 +47,7 @@ EXIV2_RCSID("@(#) $Id$")
#include "futils.hpp"
#include "value.hpp"
#include "tags.hpp"
-#include "canonmn.hpp"
+#include "canonmn_int.hpp"
#include "i18n.h" // NLS support.
// + standard includes
diff --git a/src/tags.cpp b/src/tags.cpp
index 46e4b18..c0b2922 100644
--- a/src/tags.cpp
+++ b/src/tags.cpp
@@ -37,7 +37,9 @@ EXIV2_RCSID("@(#) $Id$")
#include "error.hpp"
#include "futils.hpp"
#include "value.hpp"
-#include "canonmn.hpp"
+#include "i18n.h" // NLS support.
+
+#include "canonmn_int.hpp"
#include "fujimn_int.hpp"
#include "minoltamn_int.hpp"
#include "nikonmn_int.hpp"
@@ -46,7 +48,6 @@ EXIV2_RCSID("@(#) $Id$")
#include "pentaxmn_int.hpp"
#include "sigmamn_int.hpp"
#include "sonymn_int.hpp"
-#include "i18n.h" // NLS support.
#include <iostream>
#include <iomanip>
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list