[Kde-imaging] branches/extragear/kde3/libs/libkdcraw

Angelo Naselli anaselli at linux.it
Sun Dec 30 23:04:25 CET 2007


SVN commit 754876 by anaselli:

Breakage of the year, new static method version() has been added

CCMAIL:  kde-imaging at kde.org

 M  +2 -2      configure.in.in  
 M  +2 -2      libkdcraw.lsm  
 M  +1 -1      libkdcraw.pc.in  
 M  +7 -0      libkdcraw/kdcraw.cpp  
 M  +4 -1      libkdcraw/kdcraw.h  


--- branches/extragear/kde3/libs/libkdcraw/configure.in.in #754875:754876
@@ -5,8 +5,8 @@
 # Library API version
 # -----------------------------------------------------------------
 
-ABI_MAJOR=2
-VERSION_INFO="2:1:0"
+ABI_MAJOR=3
+VERSION_INFO="3:0:0"
 
 AC_SUBST(ABI_MAJOR)
 AC_SUBST(VERSION_INFO)
--- branches/extragear/kde3/libs/libkdcraw/libkdcraw.lsm #754875:754876
@@ -1,7 +1,7 @@
 Begin4
 Title: libkdcraw
-Version: 0.1.3
-Entered-date: 2007-12-23
+Version: 0.1.4
+Entered-date: 2007-12-30
 Description: An library to decode RAW picture files using dcraw command line program
 Keywords: kde image raw decode dcraw digikam kipi-plugins
 Author: caulier dot gilles at gmail dot com (Gilles Caulier)
--- branches/extragear/kde3/libs/libkdcraw/libkdcraw.pc.in #754875:754876
@@ -7,6 +7,6 @@
 Description: KDE interface library for dcraw command line program to decode RAW picture files 
 URL: http://www.kipi-plugins.org
 Requires:
-Version: 0.1.3
+Version: 0.1.4
 Libs: -L${libdir} -lkdcraw
 Cflags: -I${includedir}
--- branches/extragear/kde3/libs/libkdcraw/libkdcraw/kdcraw.cpp #754875:754876
@@ -55,6 +55,7 @@
 
 // Local includes.
 
+#include "version.h"
 #include "rawfiles.h"
 #include "dcrawbinary.h"
 #include "kdcraw.h"
@@ -99,6 +100,7 @@
     QTimer              *queryTimer;
 
     KProcess            *process;
+
 };
 
 KDcraw::KDcraw()
@@ -113,6 +115,11 @@
     delete d;
 }
 
+QString KDcraw::version()
+{
+  return QString(kdcraw_version);
+}
+
 void KDcraw::cancel()
 {
     m_cancel = true;
--- branches/extragear/kde3/libs/libkdcraw/libkdcraw/kdcraw.h #754875:754876
@@ -57,8 +57,11 @@
     /** Standard destructor. */
     virtual ~KDcraw();
 
-public:  
+public:
 
+    /** Return a string version of libkdcraw release */
+    static QString version();
+
     /** This is a non cancelable method witch do not require a class instance to run. 
         It can loadEmbeddedPreview() in first and if it failed, call loadHalfPreview(). 
     */


More information about the Kde-imaging mailing list