Skip to content
Permalink
Browse files

Fix include in server

  • Loading branch information
3nids committed Oct 6, 2018
1 parent f404751 commit 0901a21e4f9e1133ed1c5fcdfa43ce6f527e7a33
Showing with 14 additions and 10 deletions.
  1. +1 −0 src/server/services/wms/qgslayerrestorer.cpp
  2. +13 −10 src/server/services/wms/qgslayerrestorer.h
@@ -16,6 +16,7 @@
***************************************************************************/

#include "qgslayerrestorer.h"
#include "qgsmaplayer.h"
#include "qgsvectorlayer.h"
#include "qgsrasterlayer.h"
#include "qgsrasterrenderer.h"
@@ -19,6 +19,9 @@
#define QGSLAYERRESTORER_H

#include <QList>
#include <QDomDocument>

#include "qgsfeatureid.h"

class QgsMapLayer;

@@ -30,16 +33,6 @@ class QgsMapLayer;
*/
class QgsLayerRestorer
{
struct QgsLayerSettings
{
QString name;
double mOpacity;
QString mNamedStyle;
QDomDocument mSldStyle;
QString mFilter;
QgsFeatureIds mSelectedFeatureIds;
};

public:

/**
@@ -56,6 +49,16 @@ class QgsLayerRestorer
~QgsLayerRestorer();

private:
struct QgsLayerSettings
{
QString name;
double mOpacity;
QString mNamedStyle;
QDomDocument mSldStyle;
QString mFilter;
QgsFeatureIds mSelectedFeatureIds;
};

QMap<QgsMapLayer *, QgsLayerSettings> mLayerSettings;
};

0 comments on commit 0901a21

Please sign in to comment.
You can’t perform that action at this time.