
    [hb                         d Z d Zd Zy)ua  
/***************************************************************************
    QGIS Server Plugin Filters: Add a new request to print a specific atlas
    feature
    ---------------------
    Date                 : October 2017
    Copyright            : (C) 2017 by Michaël Douchin - 3Liz
    Email                : mdouchin at 3liz dot 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 and QGIS Server.
c                 8    ddl m  G fdd      } ||       S )N    QMessageBoxc                   $    e Zd Zd Z fdZd Zy)classFactory.<locals>.Nothingc                     || _         y N)iface)selfr
   s     3/var/www/qgis-server/plugins/atlasprint/__init__.py__init__z&classFactory.<locals>.Nothing.__init__   s	    DJ    c                 \    j                  | j                  j                         dd       y )NzAtlasPrint pluginzGAtlasPrint is plugin for QGIS Server. There is nothing in QGIS Desktop.)warningr
   
mainWindow)r   r   s    r   initGuiz%classFactory.<locals>.Nothing.initGui   s'    

%%'#Yr   c                      y r	    )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    /  5>r   c                     ddl m}  ||       S )zLoad atlasprint class from file atlasprint.

    :param server_iface: A QGIS Server interface instance.
    :type server_iface: QgsServerInterface
       )AtlasPrintServer)serverr   )server_ifacer   s     r   serverClassFactoryr!   ,   s     )L))r   N)__doc__r   r!   r   r   r   <module>r#      s   ,**r   