mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-06 19:14:57 +11:00
service/pipewire: add pipewire module
This commit is contained in:
parent
bba8cb8a7d
commit
3e80c4a4fd
21 changed files with 2476 additions and 4 deletions
25
src/services/pipewire/connection.hpp
Normal file
25
src/services/pipewire/connection.hpp
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#pragma once
|
||||
|
||||
#include "core.hpp"
|
||||
#include "metadata.hpp"
|
||||
#include "registry.hpp"
|
||||
|
||||
namespace qs::service::pipewire {
|
||||
|
||||
class PwConnection: public QObject {
|
||||
Q_OBJECT;
|
||||
|
||||
public:
|
||||
explicit PwConnection(QObject* parent = nullptr);
|
||||
|
||||
PwRegistry registry;
|
||||
PwDefaultsMetadata defaults {&this->registry};
|
||||
|
||||
static PwConnection* instance();
|
||||
|
||||
private:
|
||||
// init/destroy order is important. do not rearrange.
|
||||
PwCore core;
|
||||
};
|
||||
|
||||
} // namespace qs::service::pipewire
|
||||
Loading…
Add table
Add a link
Reference in a new issue