Move GstStartup

This commit is contained in:
Jonas Kvinge
2024-11-09 23:26:33 +01:00
parent b75410abc6
commit 975d0dff25
12 changed files with 56 additions and 100 deletions

View File

@@ -3,7 +3,7 @@
* This file was part of Clementine.
* Copyright 2012, David Sansome <me@davidsansome.com>
* Copyright 2012, 2014, John Maguire <john.maguire@gmail.com>
* Copyright 2018-2021, Jonas Kvinge <jonas@jkvinge.net>
* Copyright 2018-2024, Jonas Kvinge <jonas@jkvinge.net>
*
* Strawberry is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -25,6 +25,8 @@
#include "config.h"
#include <glib.h>
#include <QObject>
#include <QList>
#include <QString>
@@ -114,8 +116,12 @@ class Application : public QObject {
Q_SIGNALS:
void ExitFinished();
private:
static gpointer GLibMainLoopThreadFunc(gpointer data);
private:
ScopedPtr<ApplicationImpl> p_;
GThread *g_thread_;
QList<QThread*> threads_;
QList<QObject*> wait_for_exit_;
};