mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-02-04 15:30:30 +01:00
This API allows grouping globals into collections. A collection is essentially a metadata object with information about all the globals it collects. Grouping globals into collections has the advantage of avoiding defining complex set of properties to match the interested globals, and they are also a more generic way to represent a set of globals that share something in common.
27 lines
589 B
C
27 lines
589 B
C
/* WirePlumber
|
|
*
|
|
* Copyright © 2025 Collabora Ltd.
|
|
* @author Julian Bouzas <julian.bouzas@collabora.com>
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#ifndef __WIREPLUMBER_PRIVATE_COLLECTION_H__
|
|
#define __WIREPLUMBER_PRIVATE_COLLECTION_H__
|
|
|
|
#include "global-proxy.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
typedef struct _WpCollection WpCollection;
|
|
|
|
WpCollection * wp_collection_new (WpCore * core, const gchar * name);
|
|
|
|
gboolean wp_collection_collect_global (WpCollection *self,
|
|
WpGlobalProxy *global);
|
|
|
|
gboolean wp_collection_drop_global (WpCollection *self, WpGlobalProxy *global);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif
|