File indexing completed on 2024-05-19 05:47:17

0001 /*
0002  *   Copyright 2013 Marco Martin <mart@kde.org>
0003  *
0004  *   This program is free software; you can redistribute it and/or modify
0005  *   it under the terms of the GNU General Public License as
0006  *   published by the Free Software Foundation; either version 2, or
0007  *   (at your option) any later version.
0008  *
0009  *   This program is distributed in the hope that it will be useful,
0010  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
0011  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0012  *   GNU General Public License for more details
0013  *
0014  *   You should have received a copy of the GNU General Public
0015  *   License along with this program; if not, write to the
0016  *   Free Software Foundation, Inc.,
0017  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
0018  */
0019 
0020 #include "shellpluginloader.h"
0021 
0022 #include <KPackage/PackageLoader>
0023 #include <QDebug>
0024 
0025 ShellPluginLoader::ShellPluginLoader()
0026     : Plasma::PluginLoader()/*, when BC can be broken, these should become class members
0027       m_lnfPackage(0),
0028       m_qmlPackage(0),
0029       m_layoutPackage(0)*/
0030 {
0031     Q_ASSERT(false);
0032 }
0033 
0034 ShellPluginLoader::~ShellPluginLoader()
0035 {
0036 }
0037 
0038 Plasma::Package ShellPluginLoader::internalLoadPackage(const QString &/*packageFormat*/, const QString &/*specialization*/)
0039 {
0040     Q_ASSERT(false);
0041     return Plasma::Package();
0042 }
0043 
0044 void ShellPluginLoader::init()
0045 {
0046     Plasma::PluginLoader::setPluginLoader(new ShellPluginLoader);
0047 }
0048