1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-06 21:18:11 +03:00
latte-dock/containment/plugin/lattecontainmentplugin.cpp
2021-05-27 15:01:00 +00:00

22 lines
584 B
C++

/*
SPDX-FileCopyrightText: 2020 Michail Vourlakos <mvourlakos@gmail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "lattecontainmentplugin.h"
// local
#include "layoutmanager.h"
#include "types.h"
// Qt
#include <QtQml>
void LatteContainmentPlugin::registerTypes(const char *uri)
{
Q_ASSERT(uri == QLatin1String("org.kde.latte.private.containment"));
qmlRegisterUncreatableType<Latte::Containment::Types>(uri, 0, 1, "Types", "Latte Containment Types uncreatable");
qmlRegisterType<Latte::Containment::LayoutManager>(uri, 0, 1, "LayoutManager");
}