/*
   SPDX-FileCopyrightText: 2016-2021 Laurent Montel <montel@kde.org>

   SPDX-License-Identifier: GPL-2.0-or-later
*/

#include "zoomtextplugineditor.h"
#include "zoomtextplugineditorinterface.h"
#include <KPluginFactory>

K_PLUGIN_CLASS_WITH_JSON(ZoomTextPluginEditor, "kmail_zoomtexteditorplugin.json")

ZoomTextPluginEditor::ZoomTextPluginEditor(QObject *parent, const QList<QVariant> &)
    : MessageComposer::PluginEditor(parent)
{
}

ZoomTextPluginEditor::~ZoomTextPluginEditor()
{
}

MessageComposer::PluginEditorInterface *ZoomTextPluginEditor::createInterface(QObject *parent)
{
    auto interface = new ZoomTextPluginEditorInterface(parent);
    return interface;
}

bool ZoomTextPluginEditor::hasPopupMenuSupport() const
{
    return false;
}

bool ZoomTextPluginEditor::hasStatusBarSupport() const
{
    return true;
}

#include "zoomtextplugineditor.moc"
