aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/set_play_time_dialog.h
blob: a66ceb7ced9b7dfb7e5f315b6ad21ab4ef2cf9a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once

#include <memory>
#include <QDialog>
#include "common/common_types.h"

namespace Ui {
class SetPlayTimeDialog;
}

class SetPlayTimeDialog : public QDialog {
    Q_OBJECT

public:
    explicit SetPlayTimeDialog(QWidget* parent, u64 current_play_time);
    ~SetPlayTimeDialog() override;

    u64 GetTotalSeconds() const;

private:
    void OnValueChanged();

    std::unique_ptr<Ui::SetPlayTimeDialog> ui;
};