plasma-framework/src/plasmaquick/shellpluginloader.cpp
2016-08-04 21:26:52 +02:00

49 lines
1.4 KiB
C++

/*
* Copyright 2013 Marco Martin <mart@kde.org>
*
* 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, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details
*
* You should have received a copy of the GNU General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "shellpluginloader.h"
#include <KPackage/PackageLoader>
#include <QDebug>
ShellPluginLoader::ShellPluginLoader()
: Plasma::PluginLoader()/*, when BC can be broken, these should become class members
m_lnfPackage(0),
m_qmlPackage(0),
m_layoutPackage(0)*/
{
Q_ASSERT(false);
}
ShellPluginLoader::~ShellPluginLoader()
{
}
Plasma::Package ShellPluginLoader::internalLoadPackage(const QString &/*packageFormat*/, const QString &/*specialization*/)
{
Q_ASSERT(false);
return Plasma::Package();
}
void ShellPluginLoader::init()
{
Plasma::PluginLoader::setPluginLoader(new ShellPluginLoader);
}