genode/repos/libports/src/lib/qt5/qtbase/src/plugins/platforms/nitpicker/main.cpp
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

37 lines
764 B
C++

/*
* \brief Nitpicker QPA plugin
* \author Christian Prochaska
* \date 2013-05-08
*/
/*
* Copyright (C) 2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#include "qnitpickerintegrationplugin.h"
QT_BEGIN_NAMESPACE
QStringList QNitpickerIntegrationPlugin::keys() const
{
QStringList list;
list << "Nitpicker";
return list;
}
QPlatformIntegration *QNitpickerIntegrationPlugin::create(const QString& system, const QStringList& paramList)
{
Q_UNUSED(paramList);
if (system.toLower() == "nitpicker")
return new QNitpickerIntegration;
return 0;
}
Q_IMPORT_PLUGIN(QNitpickerIntegrationPlugin)
QT_END_NAMESPACE