core.h 541 Bytes
Newer Older
George Kiagiadakis's avatar
George Kiagiadakis committed
1 2 3 4 5
/* WirePlumber
 *
 * Copyright © 2019 Collabora Ltd.
 *    @author George Kiagiadakis <george.kiagiadakis@collabora.com>
 *
6 7
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */
George Kiagiadakis's avatar
George Kiagiadakis committed
8 9 10 11

#ifndef __WIREPLUMBER_CORE_H__
#define __WIREPLUMBER_CORE_H__

12
#include <wp/object.h>
George Kiagiadakis's avatar
George Kiagiadakis committed
13 14 15

G_BEGIN_DECLS

16
G_DECLARE_FINAL_TYPE (WpCore, wp_core, WP, CORE, WpObject);
George Kiagiadakis's avatar
George Kiagiadakis committed
17 18 19 20 21 22 23 24 25 26

WpCore * wp_core_get_instance (void);
void wp_core_run (WpCore * self, GError ** error);

void wp_core_exit (WpCore * self, GQuark domain, gint code,
    const gchar *format, ...);

G_END_DECLS

#endif