2
// C++ Interface: WMSServersList
7
// Author: cbro <cbro@semperpax.com>, (C) 2009
9
// Copyright: See COPYING file that comes with this distribution
13
#ifndef WMSSERVERS_LIST_H
14
#define WMSSERVERS_LIST_H
24
WmsServer(const WmsServer& other);
25
WmsServer(QString Name, QString Adress, QString Path, QString Layers, QString Projections, QString Styles, QString ImgFormat, bool Deleted=false);
27
void toXml(QDomElement parent);
28
static WmsServer fromXml(QDomElement parent);
35
QString WmsProjections;
40
typedef QMap<QString, WmsServer> WmsServerList;
41
typedef QMapIterator<QString, WmsServer> WmsServerListIterator;
46
void add(WmsServersList aWmsServersList);
47
void addServer(WmsServer aServer);
48
bool contains(QString name) const;
49
WmsServerList* getServers();
50
WmsServer getServer(QString name) const;
51
void toXml(QDomElement parent);
52
static WmsServersList fromXml(QDomElement parent);
55
WmsServerList theServers;
58
#endif // WMSSERVERS_LIST_H