[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Nov 18 18:53:35 CET 2004


CVS commit by staikos: 

adjustment to previous commit requested by Barth


  M +2 -1      kstdatasource.cpp   1.48
  M +1 -2      kstdatasource.h   1.29


--- kdeextragear-2/kst/kst/kstdatasource.cpp  #1.47:1.48
@@ -429,5 +429,5 @@ void KstDataSource::updateNumFramesScala
 
 
-int KstDataSource::readField(double *v, const QString& field, int s, int n, int skip) {
+int KstDataSource::readField(double *v, const QString& field, int s, int n, int skip, int *lastFrameRead) {
   Q_UNUSED(v)
   Q_UNUSED(field)
@@ -435,4 +435,5 @@ int KstDataSource::readField(double *v, 
   Q_UNUSED(n)
   Q_UNUSED(skip)
+  Q_UNUSED(lastFrameRead)
   return -9999; // unsupported
 }

--- kdeextragear-2/kst/kst/kstdatasource.h  #1.28:1.29
@@ -38,5 +38,4 @@ class KstDataSourcePrivate;
 class KstDataSourceConfigWidget;
 
-// BINARY COMPATIBILITY IS NOT YET GUARANTEED
 class KstDataSource : public KstObject {
   protected:
@@ -77,5 +76,5 @@ class KstDataSource : public KstObject {
       double Array v[].  Will skip according to the parameter, but it may not
       be implemented.  If it returns -9999, use the non-skip version instead. */
-    virtual int readField(double *v, const QString& field, int s, int n, int skip);
+    virtual int readField(double *v, const QString& field, int s, int n, int skip, int *lastFrameRead = 0L);
 
     /** Returns true if the field is valid, or false if it is not */





More information about the Kst mailing list