/* * SPDX-FileCopyrightText: 2014 Martin Gräßlin * * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "mockbridge.h" #include "mockclient.h" #include "mocksettings.h" #include std::unique_ptr MockBridge::createClient(KDecoration3::DecoratedClient *client, KDecoration3::Decoration *decoration) { auto ptr = std::make_unique(client, decoration); m_lastCreatedClient = ptr.get(); return ptr; } std::unique_ptr MockBridge::settings(KDecoration3::DecorationSettings *parent) { auto ptr = std::make_unique(parent); m_lastCreatedSettings = ptr.get(); return ptr; } #include "moc_mockbridge.cpp"