mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 20:38:03 +02:00
lib: make WpImplEndpoint and WpImplEndpointLink public
This commit is contained in:
parent
39ef6df7ce
commit
5a1dfc02d2
3 changed files with 28 additions and 36 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#define __WIREPLUMBER_ENDPOINT_LINK_H__
|
||||
|
||||
#include "global-proxy.h"
|
||||
#include "si-interfaces.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
@ -54,6 +55,19 @@ WP_API
|
|||
void wp_endpoint_link_request_state (WpEndpointLink * self,
|
||||
WpEndpointLinkState target);
|
||||
|
||||
/**
|
||||
* WP_TYPE_IMPL_ENDPOINT_LINK:
|
||||
*
|
||||
* The #WpImplEndpointLink #GType
|
||||
*/
|
||||
#define WP_TYPE_IMPL_ENDPOINT_LINK (wp_impl_endpoint_link_get_type ())
|
||||
WP_API
|
||||
G_DECLARE_FINAL_TYPE (WpImplEndpointLink, wp_impl_endpoint_link,
|
||||
WP, IMPL_ENDPOINT_LINK, WpEndpointLink)
|
||||
|
||||
WP_API
|
||||
WpImplEndpointLink * wp_impl_endpoint_link_new (WpCore * core, WpSiLink * item);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
#include "port.h"
|
||||
#include "iterator.h"
|
||||
#include "object-interest.h"
|
||||
#include "si-interfaces.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
@ -42,6 +43,19 @@ WpDirection wp_endpoint_get_direction (WpEndpoint * self);
|
|||
WP_API
|
||||
void wp_endpoint_create_link (WpEndpoint * self, WpProperties * props);
|
||||
|
||||
/**
|
||||
* WP_TYPE_IMPL_ENDPOINT:
|
||||
*
|
||||
* The #WpImplEndpoint #GType
|
||||
*/
|
||||
#define WP_TYPE_IMPL_ENDPOINT (wp_impl_endpoint_get_type ())
|
||||
WP_API
|
||||
G_DECLARE_FINAL_TYPE (WpImplEndpoint, wp_impl_endpoint,
|
||||
WP, IMPL_ENDPOINT, WpEndpoint)
|
||||
|
||||
WP_API
|
||||
WpImplEndpoint * wp_impl_endpoint_new (WpCore * core, WpSiEndpoint * item);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,36 +0,0 @@
|
|||
/* WirePlumber
|
||||
*
|
||||
* Copyright © 2019 Collabora Ltd.
|
||||
* @author George Kiagiadakis <george.kiagiadakis@collabora.com>
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#ifndef __WIREPLUMBER_PRIVATE_IMPL_ENDPOINT_H__
|
||||
#define __WIREPLUMBER_PRIVATE_IMPL_ENDPOINT_H__
|
||||
|
||||
#include "endpoint.h"
|
||||
#include "endpoint-link.h"
|
||||
#include "si-interfaces.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/* impl endpoint */
|
||||
|
||||
#define WP_TYPE_IMPL_ENDPOINT (wp_impl_endpoint_get_type ())
|
||||
G_DECLARE_FINAL_TYPE (WpImplEndpoint, wp_impl_endpoint,
|
||||
WP, IMPL_ENDPOINT, WpEndpoint)
|
||||
|
||||
WpImplEndpoint * wp_impl_endpoint_new (WpCore * core, WpSiEndpoint * item);
|
||||
|
||||
/* impl endpoint link */
|
||||
|
||||
#define WP_TYPE_IMPL_ENDPOINT_LINK (wp_impl_endpoint_link_get_type ())
|
||||
G_DECLARE_FINAL_TYPE (WpImplEndpointLink, wp_impl_endpoint_link,
|
||||
WP, IMPL_ENDPOINT_LINK, WpEndpointLink)
|
||||
|
||||
WpImplEndpointLink * wp_impl_endpoint_link_new (WpCore * core, WpSiLink * item);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Reference in a new issue