[Digikam-devel] extragear/graphics/digikam/libs/dmetadata

Gilles Caulier caulier.gilles at free.fr
Thu Nov 16 09:24:39 GMT 2006


SVN commit 605297 by cgilles:

digikam from trunk : compile under kubuntu without using C++ exception management everywhere : do not include exiv2 headers in DMetadata header.
CCMAIL: digikam-devel at kde.org


 M  +2 -0      dmetadata.cpp  
 M  +6 -5      dmetadata.h  


--- trunk/extragear/graphics/digikam/libs/dmetadata/dmetadata.cpp #605296:605297
@@ -44,6 +44,8 @@
 #include <exiv2/jpgimage.hpp>
 #include <exiv2/datasets.hpp>
 #include <exiv2/tags.hpp>
+#include <exiv2/types.hpp>
+#include <exiv2/exif.hpp>
 
 // Local includes.
 
--- trunk/extragear/graphics/digikam/libs/dmetadata/dmetadata.h #605296:605297
@@ -29,17 +29,18 @@
 #include <qimage.h>
 #include <qdatetime.h>
 
-// Exiv2 includes.
-
-#include <exiv2/types.hpp>
-#include <exiv2/exif.hpp>
-
 // Local includes.
 
 #include "dimg.h"
 #include "photoinfocontainer.h"
 #include "digikam_export.h"
 
+namespace Exiv2
+{
+    class DataBuf;
+    class Exifdatum;
+}
+
 namespace Digikam
 {
 



More information about the Digikam-devel mailing list