/***************************************************************************
  qgstiledsceneprovidermetadata.h
  --------------------------------------
  Date                 : June 2023
  Copyright            : (C) 2023 by Nyall Dawson
  Email                : nyall dot dawson at gmail 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.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef QGSTILEDSCENEPROVIDERMETADATA_H
#define QGSTILEDSCENEPROVIDERMETADATA_H


#include "qgsprovidermetadata.h"

#define SIP_NO_FILE

///@cond PRIVATE

/**
 * This metadata class is responsible for generic tiled scene handling.
 *
 * Specific tiled scene data provider classes will also implement their own
 * QgsProviderMetadata.
 *
 * \since QGIS 3.34
 */
class QgsTiledSceneProviderMetadata : public QgsProviderMetadata
{
    Q_OBJECT
  public:
    QgsTiledSceneProviderMetadata();
    QIcon icon() const override;
    QList< QgsDataItemProvider * > dataItemProviders() const override;

    // handling of stored connections

    QMap<QString, QgsAbstractProviderConnection *> connections( bool cached ) override;

    using QgsProviderMetadata::createConnection;
    QgsAbstractProviderConnection *createConnection( const QString &name ) override;
    void deleteConnection( const QString &name ) override;
    void saveConnection( const QgsAbstractProviderConnection *connection, const QString &name ) override;

    ProviderCapabilities providerCapabilities() const override;
};

///@endcond

#endif // QGSTILEDSCENEPROVIDERMETADATA_H
