
    sh0                     4    d Z dZdZddlmZ ddlmZ d Zd Zy	)
zCopyright 2022, 3LizzGPL version 3zinfo@3liz.org    )QgsExpression   )layer_renderer_used_attributesc                 8    ddl m  G fdd      } ||       S )Nr   QMessageBoxc                   $    e Zd Zd Z fdZd Zy)classFactory.<locals>.Nothingc                     || _         y)zS In QGIS Desktop.
            :param iface: The QGIS Desktop interface
            N)iface)selfr   s     6/var/www/qgis-server/plugins/lizmap_server/__init__.py__init__z&classFactory.<locals>.Nothing.__init__   s     DJ    c                 \    j                  | j                  j                         dd       y )NzLizmap server plugina>  "Lizmap server" is a plugin designed <b>only</b> for QGIS Server.<br><br>This plugin must be installed on QGIS Server following the documentation about <a href="https://docs.qgis.org/latest/en/docs/server_manual/plugins.html">QGIS server side plugins</a>.<br><br>For QGIS Desktop, use the other plugin called "Lizmap".)warningr   
mainWindow)r   r   s    r   initGuiz%classFactory.<locals>.Nothing.initGui   s*    

%%'&Jr   c                      y )N )r   s    r   unloadz$classFactory.<locals>.Nothing.unload%   s    r   N)__name__
__module____qualname__r   r   r   r   s   r   Nothingr
      s    			r   r   )qgis.PyQt.QtWidgetsr   )r   r   r   s     @r   classFactoryr      s    / 2 5>r   c                     ddl m}  ||       S )zLoad Lizmap server class.

    :param serverIface: A QGIS Server interface instance.
    :type serverIface: QgsServerInterface
    r   )LizmapServer)lizmap_server.pluginr   )serverIfacer   s     r   serverClassFactoryr"   ,   s     2$$r   N)	__copyright____license__	__email__	qgis.corer   qgis_expressionr   r   r"   r   r   r   <module>r(      s'   &	 $ ;@%r   