Skip to content
Permalink
Browse files

- set mapserver export plugin as compatible

- move import statement to classFactory() to allow faster QGIS startup


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9654 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Nov 17, 2008
1 parent 0cead31 commit 36a8fd00f56c05e2e949a80b6f161c77ff7a5a86
Showing with 5 additions and 2 deletions.
  1. +5 −2 python/plugins/mapserver_export/__init__.py
@@ -18,14 +18,17 @@
***************************************************************************/
This script initializes the plugin, making it known to QGIS.
"""
# load MapServerExport class from file mapserverexport.py
from mapserverexport import MapServerExport

def name():
return "MapServer Export"
def description():
return "Export a saved QGIS project file to a MapServer map file"
def version():
return "Version 0.1"
def qgisMinimumVersion():
return "1.0"
def classFactory(iface):
# load MapServerExport class from file mapserverexport.py
from mapserverexport import MapServerExport
return MapServerExport(iface)

0 comments on commit 36a8fd0

Please sign in to comment.