wonder 88844db611 - 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@9654 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-17 16:11:11 +00:00

35 lines
1.5 KiB
Python

"""
/***************************************************************************
MapServerExport - A QGIS plugin to export a saved project file
to a MapServer map file
-------------------
begin : 2008-01-07
copyright : (C) 2008 by Gary E.Sherman
email : sherman at mrcc.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
This script initializes the plugin, making it known to QGIS.
"""
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)