Good idea - and have gui classes that call the algorithms. I don't know how many files/classes you have, but it might be a pain to separate the gui from the execution code if you have many algorithms.
Etienne On Tue, May 8, 2012 at 8:58 AM, G. Allegri <[email protected]> wrote: > Almost all the actual algorithms assume to be inside a QgisApplication. It's > obvious, being born as QGis plugins. > Anyway, I think it would be a good plus being able to run (most of) them > from a CLI, given that SEXTANTE handles the layers I/O from filesystem. > If I remove QtGui calls from my algorithms, they could be used from console, > as far as I have an out-of-gui version of AlgorithmExecuter and QgsLayers. > > What do you think about this? > giovanni > > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer > _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
