Commit b0a3d581 authored by Christian Kellner's avatar Christian Kellner
Browse files

names: move dbus names from bolt-dbus.h here

All names in one place. One less header.
parent 5e4cdf6b
......@@ -20,9 +20,9 @@
#include "config.h"
#include "bolt-dbus.h"
#include "bolt-log.h"
#include "bolt-manager.h"
#include "bolt-names.h"
#include "bolt-str.h"
#include "bolt-term.h"
......
......@@ -20,13 +20,14 @@
#include "config.h"
#include "bolt-dbus.h"
#include "bolt-device.h"
#include "bolt-enums.h"
#include "bolt-error.h"
#include "bolt-io.h"
#include "bolt-log.h"
#include "bolt-manager.h"
#include "bolt-names.h"
#include "bolt-store.h"
#include "bolt-str.h"
......
......@@ -19,9 +19,10 @@
*/
#include "bolt-client.h"
#include "bolt-dbus.h"
#include "bolt-device.h"
#include "bolt-error.h"
#include "bolt-names.h"
#include <gio/gio.h>
......
......@@ -20,10 +20,11 @@
#include "config.h"
#include "bolt-dbus.h"
#include "bolt-device.h"
#include "bolt-enums.h"
#include "bolt-error.h"
#include "bolt-names.h"
#include <gio/gio.h>
......
......@@ -20,8 +20,8 @@
#include "bolt-proxy.h"
#include "bolt-dbus.h"
#include "bolt-error.h"
#include "bolt-names.h"
static void bolt_proxy_handle_props_changed (GDBusProxy *proxy,
GVariant *changed_properties,
......
/*
* Copyright © 2017 Red Hat, Inc
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
* Authors:
* Christian J. Kellner <christian@kellner.me>
*/
#pragma once
#define BOLT_DBUS_NAME "org.freedesktop.bolt"
#define BOLT_DBUS_PATH "/org/freedesktop/bolt"
#define BOLT_DBUS_INTERFACE "org.freedesktop.bolt1.Manager"
#define BOLT_DBUS_DEVICE_INTERFACE "org.freedesktop.bolt1.Device"
......@@ -20,7 +20,7 @@
#pragma once
#include "bolt-dbus.h"
#include "bolt-names.h"
#include "bolt-enum-types.h"
/**
......
......@@ -22,7 +22,7 @@
#include "bolt-error.h"
#include "bolt-dbus.h"
#include "bolt-names.h"
#include <gio/gio.h>
......
......@@ -37,3 +37,12 @@
/* logging - message ids */
#define BOLT_LOG_MSG_ID_STARTUP "dd11929c788e48bdbb6276fb5f26b08a"
/* dbus */
#define BOLT_DBUS_NAME "org.freedesktop.bolt"
#define BOLT_DBUS_PATH "/org/freedesktop/bolt"
#define BOLT_DBUS_INTERFACE "org.freedesktop.bolt1.Manager"
#define BOLT_DBUS_DEVICE_INTERFACE "org.freedesktop.bolt1.Device"
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