# Copyright (C) 2026 Wilhelmus Dingenus de Pooter
# SPDX-License-Identifier: GPL-3.0-or-later
"""ENCore GIS — QGIS plugin entry point.

QGIS calls classFactory() when loading the plugin; it returns the plugin object
that wires up the toolbar action and the dock widget.
"""


def classFactory(iface):
    """Construct and return the ENCore GIS plugin object (QGIS plugin hook)."""
    from .enc_explorer import ENCExplorer
    return ENCExplorer(iface)
