treeland/examples/test_window_crusor/personalization_manager.cpp

58 lines
1.8 KiB
C++
Raw Permalink Normal View History

// Copyright (C) 2024 rewine <luhongxu@deepin.com>.
// SPDX-License-Identifier: Apache-2.0 OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#include "personalization_manager.h"
2024-08-02 13:38:48 +08:00
#include <QDebug>
QT_BEGIN_NAMESPACE
PersonalizationManager::PersonalizationManager()
: QWaylandClientExtensionTemplate<PersonalizationManager>(1)
{
}
2024-09-25 11:39:24 +08:00
PersonalizationWindow::PersonalizationWindow(
struct ::treeland_personalization_window_context_v1 *object)
: QWaylandClientExtensionTemplate<PersonalizationWindow>(1)
2024-09-19 11:37:55 +08:00
, QtWayland::treeland_personalization_window_context_v1(object)
{
}
2024-09-25 11:39:24 +08:00
PersonalizationWallpaper::PersonalizationWallpaper(
struct ::treeland_personalization_wallpaper_context_v1 *object)
: QWaylandClientExtensionTemplate<PersonalizationWallpaper>(1)
2024-09-19 11:37:55 +08:00
, QtWayland::treeland_personalization_wallpaper_context_v1(object)
{
}
2024-09-25 11:39:24 +08:00
void PersonalizationWallpaper::treeland_personalization_wallpaper_context_v1_metadata(
const QString &metadata)
{
2024-08-02 13:38:48 +08:00
qDebug() << "=========================================== metadata" << metadata;
}
2024-09-25 11:39:24 +08:00
PersonalizationCursor::PersonalizationCursor(
struct ::treeland_personalization_cursor_context_v1 *object)
: QWaylandClientExtensionTemplate<PersonalizationCursor>(1)
2024-09-19 11:37:55 +08:00
, QtWayland::treeland_personalization_cursor_context_v1(object)
{
}
void PersonalizationCursor::personalization_cursor_context_v1_verfity(int32_t success)
{
2024-08-02 13:38:48 +08:00
qDebug() << "=========================================== verfity" << success;
}
void PersonalizationCursor::personalization_cursor_context_v1_theme(const QString &name)
{
2024-08-02 13:38:48 +08:00
qDebug() << "=========================================== theme" << name;
}
void PersonalizationCursor::personalization_cursor_context_v1_size(uint32_t size)
{
2024-08-02 13:38:48 +08:00
qDebug() << "=========================================== size" << size;
}
QT_END_NAMESPACE