Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- 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 committed Nov 17, 2008
1 parent 0cead31 commit 36a8fd0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/plugins/mapserver_export/__init__.py
Expand Up @@ -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.