[Kde-imaging] branches/extragear/kde3/libs/libkipi/libkipi
Angelo Naselli
anaselli at linux.it
Sun Dec 30 23:09:29 CET 2007
SVN commit 754879 by anaselli:
Breakage of the year, new static method version() has been added
CCMAIL: kde-imaging at kde.org
M +1 -1 Makefile.am
M +8 -1 interface.cpp
M +3 -0 interface.h
--- branches/extragear/kde3/libs/libkipi/libkipi/Makefile.am #754878:754879
@@ -14,7 +14,7 @@
imagecollectionselector.h version.h libkipi_export.h
libkipi_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) \
- -version-info 1:1:1 -no-undefined
+ -version-info 2:0:0 -no-undefined
libkipi_la_LIBADD = $(LIB_KIO) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT)
--- branches/extragear/kde3/libs/libkipi/libkipi/interface.cpp #754878:754879
@@ -31,7 +31,8 @@
#include <kimageio.h>
// Local includes.
-
+
+#include "version.h"
#include "pluginloader.h"
#include "interface.h"
#include "interface.moc"
@@ -108,6 +109,12 @@
{
}
+/** Returns a string version of libkipi release */
+QString KIPI::Interface::version()
+{
+ return QString(kipi_version);
+}
+
/**
Tells the host app that the following images has changed on disk
*/
--- branches/extragear/kde3/libs/libkipi/libkipi/interface.h #754878:754879
@@ -83,6 +83,9 @@
bool hasFeature( KIPI::Features feature );
+ /** Return a string version of libkipi release */
+ static QString version();
+
signals:
void selectionChanged( bool hasSelection );
More information about the Kde-imaging
mailing list