Skip to content

Commit

Permalink
Decode uri for ams provider
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 7, 2018
1 parent bcffc44 commit 4cdde31
Showing 1 changed file with 5 additions and 22 deletions.
27 changes: 5 additions & 22 deletions src/providers/arcgisrest/qgsamsproviderextern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,28 +81,11 @@ QGISEXTERN QgsDataItem *dataItem( QString path, QgsDataItem *parentItem )
return nullptr;
}


/*
QGISEXTERN bool saveStyle( const QString& uri, const QString& qmlStyle, const QString& sldStyle,
const QString& styleName, const QString& styleDescription,
const QString& uiFileContent, bool useAsDefault, QString& errCause )
{
}
QGISEXTERN QString loadStyle( const QString& uri, QString& errCause )
{
}
QGISEXTERN int listStyles( const QString &uri, QStringList &ids, QStringList &names,
QStringList &descriptions, QString& errCause )
{
}
QGISEXTERN QString getStyleById( const QString& uri, QString styleId, QString& errCause )
QGISEXTERN QVariantMap decodeUri( const QString &uri )
{
QgsDataSourceUri dsUri = QgsDataSourceUri( uri );

QVariantMap components;
components.insert( QStringLiteral( "url" ), dsUri.param( QStringLiteral( "url" ) ) );
return components;
}
*/

0 comments on commit 4cdde31

Please sign in to comment.