%{Cpp:LicenseTemplate}\

#include "%{ProjectNameLower}plugineditor.h"
#include "%{ProjectNameLower}plugineditorinterface.h"
#include <KPluginFactory>

K_PLUGIN_CLASS_WITH_JSON(%{CN}PluginEditor, "%{ProjectNameLower}editorplugin.json")

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

%{CN}PluginEditor::~%{CN}PluginEditor()
{
}

bool %{CN}PluginEditor::hasPopupMenuSupport() const
{
    return false;
}

MessageComposer::PluginEditorInterface *%{CN}PluginEditor::createInterface(QObject *parent)
{
    %{CN}PluginEditorInterface *interface = new %{CN}PluginEditorInterface(parent);
    return interface;
}

#include "%{ProjectNameLower}plugineditor.moc"
