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:
[hidden email]
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
{
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel