// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef WINDOW_H
#define WINDOW_H

#include <player_widget.h>
#include <player_engine.h>
#include <playlist_model.h>
#include <compositing_manager.h>
#include <QWidget>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QPushButton>

class Window: public QWidget {
    Q_OBJECT
public:
    explicit Window(QWidget *parent = nullptr);
    void play(const QUrl& url);

private:
    dmr::PlayerWidget *player {nullptr};
};

#endif // WINDOW_H
