summaryrefslogtreecommitdiff
path: root/graphics/libkexiv2/patches/patch-ab
blob: 20336d79810278872ac3df24b35d3dd20feb70ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ab,v 1.1 2007/04/01 13:48:39 wiz Exp $

--- libkexiv2/kexiv2.h.orig	2007-02-24 21:13:15.000000000 +0000
+++ libkexiv2/kexiv2.h
@@ -47,6 +47,7 @@ namespace Exiv2
     class Exifdatum;
     class ExifData;
     class IptcData;
+    class Error;
 }
 
 namespace KExiv2Iface
@@ -96,6 +97,11 @@ public:
     /** Return a string version of Exiv2 release in format "major.minor.patch" */ 
     static QString Exiv2Version();
 
+    /** Generic method to print the Exiv2 C++ Exception error message from 'e'.
+        'msg' string is printed just before like debug header.
+    */
+    static void printExiv2ExceptionError(const QString& msg, Exiv2::Error& e);
+
     //-- Metadata manipulation methods ----------------------------------------------
 
     /** Clear the Comments metadata container in memory. */