| 1 |
/* WirePlumber |
| 2 |
* |
| 3 |
* Copyright © 2021 Collabora Ltd. |
| 4 |
* @author George Kiagiadakis <[email protected]> |
| 5 |
* |
| 6 |
* SPDX-License-Identifier: MIT |
| 7 |
*/ |
| 8 |
|
| 9 |
#ifndef __WIREPLUMBER_RESERVE_DEVICE_TRANSITIONS_H__ |
| 10 |
#define __WIREPLUMBER_RESERVE_DEVICE_TRANSITIONS_H__ |
| 11 |
|
| 12 |
#include "reserve-device.h" |
| 13 |
|
| 14 |
G_BEGIN_DECLS |
| 15 |
|
| 16 |
G_DECLARE_FINAL_TYPE (WpReserveDeviceAcquireTransition, |
| 17 |
wp_reserve_device_acquire_transition, |
| 18 |
WP, RESERVE_DEVICE_ACQUIRE_TRANSITION, WpTransition) |
| 19 |
|
| 20 |
WpTransition * wp_reserve_device_acquire_transition_new (WpReserveDevice *rd, |
| 21 |
GCancellable * cancellable, GAsyncReadyCallback callback, |
| 22 |
gpointer callback_data); |
| 23 |
|
| 24 |
void wp_reserve_device_acquire_transition_name_acquired (WpTransition * tr); |
| 25 |
void wp_reserve_device_acquire_transition_name_lost (WpTransition * tr); |
| 26 |
|
| 27 |
gboolean wp_reserve_device_acquire_transition_finish (GAsyncResult * res, |
| 28 |
GError ** error); |
| 29 |
|
| 30 |
G_END_DECLS |
| 31 |
|
| 32 |
#endif |