[Kst] branches/work/kst/1.6/kst/src/extensions/js

Andrew Walker arwalker at sumusltd.com
Sat Oct 20 00:32:18 CEST 2007


SVN commit 727169 by arwalker:

CCBUG:150999 First draft of JavaScript functionality for reading files

 M  +2 -1      Makefile.am  
 A             bind_file.cpp   [License: GPL (v2+)]
 A             bind_file.h   [License: GPL (v2+)]
 M  +4 -1      js.cpp  


--- branches/work/kst/1.6/kst/src/extensions/js/Makefile.am #727168:727169
@@ -91,7 +91,8 @@
 			    bind_ellipse.cpp \
 			    bind_picture.cpp \
 			    bind_arrow.cpp \
-			    bind_line.cpp
+			    bind_line.cpp \
+			    bind_file.cpp
 
 #			    js_dataobject.cpp \
 #			    bind_cubicbezier.cpp \
--- branches/work/kst/1.6/kst/src/extensions/js/js.cpp #727168:727169
@@ -53,6 +53,7 @@
 #include "bind_debug.h"
 #include "bind_equation.h"
 #include "bind_ellipse.h"
+#include "bind_file.h"
 #include "bind_histogram.h"
 #include "bind_jsdataobject.h"
 #include "bind_kst.h"
@@ -210,6 +211,8 @@
   new KstBindDebug(exec, &globalObj);
   new KstBindKst(exec, &globalObj, this);
 
+  new KstBindFile(exec, &globalObj);
+
   globalObj.put(exec, "loadScript", KJS::Object(new LoadScript(this)));
 
   createRegistry();
@@ -404,4 +407,4 @@
 
 
 #include "js.moc"
-// vim: ts=2 sw=2 et
+


More information about the Kst mailing list