Skip to content

Commit

Permalink
[processing] some file restructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Jun 10, 2014
1 parent 0009040 commit ae47c1a
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 17 deletions.
1 change: 0 additions & 1 deletion python/plugins/processing/CMakeLists.txt
Expand Up @@ -10,7 +10,6 @@ ADD_SUBDIRECTORY(parameters)
ADD_SUBDIRECTORY(script)
ADD_SUBDIRECTORY(tools)
ADD_SUBDIRECTORY(tests)
ADD_SUBDIRECTORY(exampleprovider)

FILE(GLOB UI_FILES ui/*.ui)
PYQT4_WRAP_UI(PYUI_FILES ${UI_FILES})
Expand Down
1 change: 1 addition & 0 deletions python/plugins/processing/algs/CMakeLists.txt
Expand Up @@ -9,5 +9,6 @@ ADD_SUBDIRECTORY(taudem)
ADD_SUBDIRECTORY(lidar)
ADD_SUBDIRECTORY(qgis)
ADD_SUBDIRECTORY(r)
ADD_SUBDIRECTORY(exampleprovider)

PLUGIN_INSTALL(processing algs ${PY_FILES})
4 changes: 4 additions & 0 deletions python/plugins/processing/algs/exampleprovider/CMakeLists.txt
@@ -0,0 +1,4 @@
FILE(GLOB PY_FILES *.py)
FILE(GLOB OTHER_FILES *.txt)

PLUGIN_INSTALL(processing ./algs/exampleprovider ${PY_FILES} ${OTHER_FILES})
5 changes: 2 additions & 3 deletions python/plugins/processing/core/Processing.py
Expand Up @@ -38,7 +38,7 @@
from processing.gui.AlgorithmClassification import AlgorithmDecorator
from processing.gui.MessageBarProgress import MessageBarProgress
from processing.gui.RenderingStyles import RenderingStyles
from processing.gui.Postprocessing import Postprocessing
from processing.gui.Postprocessing import handleAlgorithmResults
from processing.gui.UnthreadedAlgorithmExecutor import \
UnthreadedAlgorithmExecutor
from processing.modeler.Providers import Providers
Expand Down Expand Up @@ -275,8 +275,7 @@ def getObject(uri):

@staticmethod
def runandload(name, *args):
Processing.runAlgorithm(name, Postprocessing.handleAlgorithmResults,
*args)
Processing.runAlgorithm(name, handleAlgorithmResults, *args)

@staticmethod
def runAlgorithm(algOrName, onFinish, *args):
Expand Down
4 changes: 0 additions & 4 deletions python/plugins/processing/exampleprovider/CMakeLists.txt

This file was deleted.

9 changes: 0 additions & 9 deletions python/plugins/processing/gui/help/help.css

This file was deleted.

0 comments on commit ae47c1a

Please sign in to comment.