File indexing completed on 2024-05-12 17:09:55

0001 /*
0002     SPDX-FileCopyrightText: 2017 Roman Gilg <subdiff@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "colorcorrectplugin.h"
0008 #include "compositorcoloradaptor.h"
0009 #include "geolocator.h"
0010 #include "suncalc.h"
0011 
0012 #include <QQmlEngine>
0013 
0014 namespace ColorCorrect
0015 {
0016 void ColorCorrectPlugin::registerTypes(const char *uri)
0017 {
0018     Q_ASSERT(uri == QLatin1String("org.kde.colorcorrect"));
0019     qmlRegisterType<CompositorAdaptor>(uri, 0, 1, "CompositorAdaptor");
0020     qmlRegisterType<Geolocator>(uri, 0, 1, "Geolocator");
0021     qmlRegisterType<SunCalc>(uri, 0, 1, "SunCalc");
0022 }
0023 
0024 }