mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-06 19:14:57 +11:00
25 lines
450 B
C++
25 lines
450 B
C++
#pragma once
|
|
|
|
#include "core.hpp"
|
|
#include "defaults.hpp"
|
|
#include "registry.hpp"
|
|
|
|
namespace qs::service::pipewire {
|
|
|
|
class PwConnection: public QObject {
|
|
Q_OBJECT;
|
|
|
|
public:
|
|
explicit PwConnection(QObject* parent = nullptr);
|
|
|
|
PwRegistry registry;
|
|
PwDefaultTracker defaults {&this->registry};
|
|
|
|
static PwConnection* instance();
|
|
|
|
private:
|
|
// init/destroy order is important. do not rearrange.
|
|
PwCore core;
|
|
};
|
|
|
|
} // namespace qs::service::pipewire
|