mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-04 01:28:00 +02:00
lib: move WpImplEndpoint* header parts to private/impl-endpoint.h
This commit is contained in:
parent
58310c73aa
commit
91472c51e9
7 changed files with 53 additions and 33 deletions
|
|
@ -16,7 +16,7 @@
|
|||
#include "endpoint-link.h"
|
||||
#include "error.h"
|
||||
#include "wpenums.h"
|
||||
#include "private.h"
|
||||
#include "private/impl-endpoint.h"
|
||||
#include "private/pipewire-object-mixin.h"
|
||||
|
||||
#include <pipewire/extensions/session-manager.h>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
#include "endpoint-stream.h"
|
||||
#include "node.h"
|
||||
#include "error.h"
|
||||
#include "private.h"
|
||||
#include "private/impl-endpoint.h"
|
||||
#include "private/pipewire-object-mixin.h"
|
||||
|
||||
#include <pipewire/extensions/session-manager.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
#include "error.h"
|
||||
#include "wpenums.h"
|
||||
#include "si-factory.h"
|
||||
#include "private.h"
|
||||
#include "private/impl-endpoint.h"
|
||||
#include "private/pipewire-object-mixin.h"
|
||||
|
||||
#include <pipewire/extensions/session-manager.h>
|
||||
|
|
|
|||
|
|
@ -13,9 +13,7 @@
|
|||
#include "object-manager.h"
|
||||
#include "props.h"
|
||||
#include "proxy.h"
|
||||
#include "endpoint.h"
|
||||
#include "endpoint-stream.h"
|
||||
#include "si-interfaces.h"
|
||||
#include "session-item.h"
|
||||
#include "iterator.h"
|
||||
#include "spa-type.h"
|
||||
#include "private/registry.h"
|
||||
|
|
@ -69,31 +67,6 @@ const struct spa_pod *wp_spa_pod_get_spa_pod (const WpSpaPod *self);
|
|||
|
||||
void wp_session_item_set_parent (WpSessionItem *self, WpSessionItem *parent);
|
||||
|
||||
/* 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 stream */
|
||||
|
||||
#define WP_TYPE_IMPL_ENDPOINT_STREAM (wp_impl_endpoint_stream_get_type ())
|
||||
G_DECLARE_FINAL_TYPE (WpImplEndpointStream, wp_impl_endpoint_stream,
|
||||
WP, IMPL_ENDPOINT_STREAM, WpEndpointStream)
|
||||
|
||||
WpImplEndpointStream * wp_impl_endpoint_stream_new (WpCore * core,
|
||||
WpSiStream * 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
|
||||
|
|
|
|||
46
lib/wp/private/impl-endpoint.h
Normal file
46
lib/wp/private/impl-endpoint.h
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
/* 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-stream.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 stream */
|
||||
|
||||
#define WP_TYPE_IMPL_ENDPOINT_STREAM (wp_impl_endpoint_stream_get_type ())
|
||||
G_DECLARE_FINAL_TYPE (WpImplEndpointStream, wp_impl_endpoint_stream,
|
||||
WP, IMPL_ENDPOINT_STREAM, WpEndpointStream)
|
||||
|
||||
WpImplEndpointStream * wp_impl_endpoint_stream_new (WpCore * core,
|
||||
WpSiStream * 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
|
||||
|
|
@ -15,9 +15,10 @@
|
|||
|
||||
#include "session-item.h"
|
||||
#include "debug.h"
|
||||
#include "private.h"
|
||||
#include "error.h"
|
||||
#include "wpenums.h"
|
||||
#include "private.h"
|
||||
#include "private/impl-endpoint.h"
|
||||
|
||||
struct _WpSiTransition
|
||||
{
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
#include "session.h"
|
||||
#include "error.h"
|
||||
#include "wpenums.h"
|
||||
#include "private.h"
|
||||
#include "private/impl-endpoint.h"
|
||||
#include "private/pipewire-object-mixin.h"
|
||||
|
||||
#include <pipewire/extensions/session-manager.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue