Commit bcba7508 authored by Arnaud Ferraris's avatar Arnaud Ferraris
Browse files

src: move D-Bus definitions to dedicated header file

These will be used by the library sources too.
parent 2b09c31d
......@@ -6,6 +6,7 @@
#define G_LOG_DOMAIN "callaudiod-manager"
#include "callaudiod.h"
#include "cad-manager.h"
#include "cad-pulse.h"
......
......@@ -11,11 +11,6 @@
#include "cad-operation.h"
#include <glib-object.h>
#define CALLAUDIO_DBUS_NAME "org.mobian_project.CallAudio"
#define CALLAUDIO_DBUS_PATH "/org/mobian_project/CallAudio"
#define CALLAUDIO_DBUS_TYPE G_BUS_TYPE_SESSION
G_BEGIN_DECLS
#define CAD_TYPE_MANAGER (cad_manager_get_type())
......
......@@ -7,6 +7,7 @@
#define G_LOG_DOMAIN "callaudiod"
#include "callaudiod.h"
#include "cad-manager.h"
#include "cad-pulse.h"
#include "config.h"
......
/*
* Copyright (C) 2020 Arnaud Ferraris <arnaud.ferraris@gmail.com>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#pragma once
#define CALLAUDIO_DBUS_NAME "org.mobian_project.CallAudio"
#define CALLAUDIO_DBUS_PATH "/org/mobian_project/CallAudio"
#define CALLAUDIO_DBUS_TYPE G_BUS_TYPE_SESSION
......@@ -23,7 +23,7 @@ executable (
config_h,
generated_dbus_sources,
[
'callaudiod.c',
'callaudiod.c', 'callaudiod.h',
'cad-manager.c', 'cad-manager.h',
'cad-pulse.c', 'cad-pulse.h',
],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment