1# -*- coding: utf-8 -*- 2 3""" 4*************************************************************************** 5 __init__.py 6 --------------------- 7 Date : August 2012 8 Copyright : (C) 2012 by Victor Olaya 9 Email : volayaf at gmail dot com 10*************************************************************************** 11* * 12* This program is free software; you can redistribute it and/or modify * 13* it under the terms of the GNU General Public License as published by * 14* the Free Software Foundation; either version 2 of the License, or * 15* (at your option) any later version. * 16* * 17*************************************************************************** 18""" 19 20__author__ = 'Victor Olaya' 21__date__ = 'August 2012' 22__copyright__ = '(C) 2012, Victor Olaya' 23 24from processing.tools.dataobjects import * # NOQA 25from processing.tools.dataobjects import createContext 26from processing.tools.general import * # NOQA 27from processing.tools.general import ( 28 algorithmHelp, 29 run, 30 runAndLoadResults, 31 createAlgorithmDialog, 32 execAlgorithmDialog 33) 34from processing.tools.vector import * # NOQA 35from processing.tools.raster import * # NOQA 36from processing.tools.system import * # NOQA 37 38# monkey patch Python specific Processing API into stable qgis.processing module 39import qgis.processing 40 41qgis.processing.algorithmHelp = algorithmHelp 42qgis.processing.run = run 43qgis.processing.runAndLoadResults = runAndLoadResults 44qgis.processing.createAlgorithmDialog = createAlgorithmDialog 45qgis.processing.execAlgorithmDialog = execAlgorithmDialog 46qgis.processing.createContext = createContext 47 48 49def classFactory(iface): 50 from processing.ProcessingPlugin import ProcessingPlugin 51 return ProcessingPlugin(iface) 52