/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.15.3
 *
 * Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt6-WebEngine.
 * 
 * This file may be used under the terms of the GNU General Public License
 * version 3.0 as published by the Free Software Foundation and appearing in
 * the file LICENSE included in the packaging of this file.  Please review the
 * following information to ensure the GNU General Public License version 3.0
 * requirements will be met: http://www.gnu.org/copyleft/gpl.html.
 * 
 * If you do not wish to use this file under the terms of the GPL version 3.0
 * then you may purchase a commercial license.  For more information contact
 * info@riverbankcomputing.com.
 * 
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include "sipAPIQtWebEngineCore.h"

#line 28 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebengineextensioninfo.sip"
#include <qwebengineextensioninfo.h>
#line 29 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineExtensionInfo.cpp"

#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qurl.sip"
#include <qurl.h>
#line 33 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineExtensionInfo.cpp"
#line 24 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 36 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineExtensionInfo.cpp"


PyDoc_STRVAR(doc_QWebEngineExtensionInfo_swap, "swap(self, other: QWebEngineExtensionInfo)");

extern "C" {static PyObject *meth_QWebEngineExtensionInfo_swap(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineExtensionInfo_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        ::QWebEngineExtensionInfo* a0;
        ::QWebEngineExtensionInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebEngineExtensionInfo, &sipCpp, sipType_QWebEngineExtensionInfo, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineExtensionInfo, sipName_swap, doc_QWebEngineExtensionInfo_swap);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineExtensionInfo_name, "name(self) -> str");

extern "C" {static PyObject *meth_QWebEngineExtensionInfo_name(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineExtensionInfo_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineExtensionInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineExtensionInfo, &sipCpp))
        {
            ::QString*sipRes;

            sipRes = new ::QString(sipCpp->name());

            return sipConvertFromNewType(sipRes, sipType_QString, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineExtensionInfo, sipName_name, doc_QWebEngineExtensionInfo_name);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineExtensionInfo_id, "id(self) -> str");

extern "C" {static PyObject *meth_QWebEngineExtensionInfo_id(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineExtensionInfo_id(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineExtensionInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineExtensionInfo, &sipCpp))
        {
            ::QString*sipRes;

            sipRes = new ::QString(sipCpp->id());

            return sipConvertFromNewType(sipRes, sipType_QString, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineExtensionInfo, sipName_id, doc_QWebEngineExtensionInfo_id);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineExtensionInfo_description, "description(self) -> str");

extern "C" {static PyObject *meth_QWebEngineExtensionInfo_description(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineExtensionInfo_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineExtensionInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineExtensionInfo, &sipCpp))
        {
            ::QString*sipRes;

            sipRes = new ::QString(sipCpp->description());

            return sipConvertFromNewType(sipRes, sipType_QString, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineExtensionInfo, sipName_description, doc_QWebEngineExtensionInfo_description);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineExtensionInfo_path, "path(self) -> str");

extern "C" {static PyObject *meth_QWebEngineExtensionInfo_path(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineExtensionInfo_path(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineExtensionInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineExtensionInfo, &sipCpp))
        {
            ::QString*sipRes;

            sipRes = new ::QString(sipCpp->path());

            return sipConvertFromNewType(sipRes, sipType_QString, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineExtensionInfo, sipName_path, doc_QWebEngineExtensionInfo_path);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineExtensionInfo_error, "error(self) -> str");

extern "C" {static PyObject *meth_QWebEngineExtensionInfo_error(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineExtensionInfo_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineExtensionInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineExtensionInfo, &sipCpp))
        {
            ::QString*sipRes;

            sipRes = new ::QString(sipCpp->error());

            return sipConvertFromNewType(sipRes, sipType_QString, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineExtensionInfo, sipName_error, doc_QWebEngineExtensionInfo_error);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineExtensionInfo_actionPopupUrl, "actionPopupUrl(self) -> QUrl");

extern "C" {static PyObject *meth_QWebEngineExtensionInfo_actionPopupUrl(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineExtensionInfo_actionPopupUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineExtensionInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineExtensionInfo, &sipCpp))
        {
            ::QUrl*sipRes;

            sipRes = new ::QUrl(sipCpp->actionPopupUrl());

            return sipConvertFromNewType(sipRes, sipType_QUrl, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineExtensionInfo, sipName_actionPopupUrl, doc_QWebEngineExtensionInfo_actionPopupUrl);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineExtensionInfo_isEnabled, "isEnabled(self) -> bool");

extern "C" {static PyObject *meth_QWebEngineExtensionInfo_isEnabled(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineExtensionInfo_isEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineExtensionInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineExtensionInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineExtensionInfo, sipName_isEnabled, doc_QWebEngineExtensionInfo_isEnabled);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineExtensionInfo_isLoaded, "isLoaded(self) -> bool");

extern "C" {static PyObject *meth_QWebEngineExtensionInfo_isLoaded(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineExtensionInfo_isLoaded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineExtensionInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineExtensionInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isLoaded();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineExtensionInfo, sipName_isLoaded, doc_QWebEngineExtensionInfo_isLoaded);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineExtensionInfo_isInstalled, "isInstalled(self) -> bool");

extern "C" {static PyObject *meth_QWebEngineExtensionInfo_isInstalled(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineExtensionInfo_isInstalled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineExtensionInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineExtensionInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isInstalled();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineExtensionInfo, sipName_isInstalled, doc_QWebEngineExtensionInfo_isInstalled);

    return SIP_NULLPTR;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWebEngineExtensionInfo(void *, int);}
static void release_QWebEngineExtensionInfo(void *sipCppV, int)
{
    delete reinterpret_cast< ::QWebEngineExtensionInfo *>(sipCppV);
}


extern "C" {static void *array_QWebEngineExtensionInfo(Py_ssize_t);}
static void *array_QWebEngineExtensionInfo(Py_ssize_t sipNrElem)
{
    return new ::QWebEngineExtensionInfo[sipNrElem];
}


extern "C" {static void array_delete_QWebEngineExtensionInfo(void *);}
static void array_delete_QWebEngineExtensionInfo(void *sipCpp)
{
    delete[] reinterpret_cast< ::QWebEngineExtensionInfo *>(sipCpp);
}


extern "C" {static void assign_QWebEngineExtensionInfo(void *, Py_ssize_t, void *);}
static void assign_QWebEngineExtensionInfo(void *sipDst, Py_ssize_t sipDstIdx, void *sipSrc)
{
    reinterpret_cast< ::QWebEngineExtensionInfo *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::QWebEngineExtensionInfo *>(sipSrc);
}


extern "C" {static void *copy_QWebEngineExtensionInfo(const void *, Py_ssize_t);}
static void *copy_QWebEngineExtensionInfo(const void *sipSrc, Py_ssize_t sipSrcIdx)
{
    return new ::QWebEngineExtensionInfo(reinterpret_cast<const ::QWebEngineExtensionInfo *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QWebEngineExtensionInfo(sipSimpleWrapper *);}
static void dealloc_QWebEngineExtensionInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWebEngineExtensionInfo(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QWebEngineExtensionInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWebEngineExtensionInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    ::QWebEngineExtensionInfo *sipCpp = SIP_NULLPTR;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
        {
            sipCpp = new ::QWebEngineExtensionInfo();

            return sipCpp;
        }
    }

    {
        const ::QWebEngineExtensionInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, "J9", sipType_QWebEngineExtensionInfo, &a0))
        {
            sipCpp = new ::QWebEngineExtensionInfo(*a0);

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


static PyMethodDef methods_QWebEngineExtensionInfo[] = {
    {sipName_actionPopupUrl, meth_QWebEngineExtensionInfo_actionPopupUrl, METH_VARARGS, doc_QWebEngineExtensionInfo_actionPopupUrl},
    {sipName_description, meth_QWebEngineExtensionInfo_description, METH_VARARGS, doc_QWebEngineExtensionInfo_description},
    {sipName_error, meth_QWebEngineExtensionInfo_error, METH_VARARGS, doc_QWebEngineExtensionInfo_error},
    {sipName_id, meth_QWebEngineExtensionInfo_id, METH_VARARGS, doc_QWebEngineExtensionInfo_id},
    {sipName_isEnabled, meth_QWebEngineExtensionInfo_isEnabled, METH_VARARGS, doc_QWebEngineExtensionInfo_isEnabled},
    {sipName_isInstalled, meth_QWebEngineExtensionInfo_isInstalled, METH_VARARGS, doc_QWebEngineExtensionInfo_isInstalled},
    {sipName_isLoaded, meth_QWebEngineExtensionInfo_isLoaded, METH_VARARGS, doc_QWebEngineExtensionInfo_isLoaded},
    {sipName_name, meth_QWebEngineExtensionInfo_name, METH_VARARGS, doc_QWebEngineExtensionInfo_name},
    {sipName_path, meth_QWebEngineExtensionInfo_path, METH_VARARGS, doc_QWebEngineExtensionInfo_path},
    {sipName_swap, meth_QWebEngineExtensionInfo_swap, METH_VARARGS, doc_QWebEngineExtensionInfo_swap}
};

PyDoc_STRVAR(doc_QWebEngineExtensionInfo, "\1QWebEngineExtensionInfo()\n"
"QWebEngineExtensionInfo(other: QWebEngineExtensionInfo)");


sipClassTypeDef sipTypeDef_QtWebEngineCore_QWebEngineExtensionInfo = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebEngineExtensionInfo,
        SIP_NULLPTR,
        SIP_NULLPTR,
    },
    {
        sipNameNr_QWebEngineExtensionInfo,
        {0, 0, 1},
        10, methods_QWebEngineExtensionInfo,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QWebEngineExtensionInfo,
    -1,
    sipNameNr_PyQt6_sip_simplewrapper,
    SIP_NULLPTR,
    SIP_NULLPTR,
    init_type_QWebEngineExtensionInfo,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QWebEngineExtensionInfo,
    assign_QWebEngineExtensionInfo,
    array_QWebEngineExtensionInfo,
    copy_QWebEngineExtensionInfo,
    release_QWebEngineExtensionInfo,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QWebEngineExtensionInfo,
    sizeof (::QWebEngineExtensionInfo),
};
