2023-08-08 15:10:32 +08:00
|
|
|
// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
|
|
|
|
#ifndef CONSTANT_H
|
|
|
|
#define CONSTANT_H
|
|
|
|
|
|
|
|
constexpr auto SystemdService = u8"org.freedesktop.systemd1";
|
|
|
|
constexpr auto SystemdObjectPath = u8"/org/freedesktop/systemd1";
|
|
|
|
constexpr auto SystemdInterfaceName = u8"org.freedesktop.systemd1.Manager";
|
2023-08-14 16:30:16 +08:00
|
|
|
constexpr auto DDEApplicationManager1ServiceName =
|
|
|
|
#ifdef DEBUG_MODE
|
|
|
|
u8"org.deepin.dde.debug.ApplicationManager1";
|
|
|
|
#else
|
|
|
|
u8"org.deepin.dde.ApplicationManager1";
|
|
|
|
#endif
|
|
|
|
|
2023-08-08 15:10:32 +08:00
|
|
|
constexpr auto DDEApplicationManager1ObjectPath = u8"/org/deepin/dde/ApplicationManager1";
|
2023-08-25 10:47:17 +08:00
|
|
|
constexpr auto DDEAutoStartManager1ObjectPath = u8"/org/deepin/dde/AutoStartManager1";
|
2023-08-08 15:10:32 +08:00
|
|
|
constexpr auto DDEApplicationManager1JobManagerObjectPath = u8"/org/deepin/dde/ApplicationManager1/JobManager1";
|
|
|
|
constexpr auto DesktopFileEntryKey = u8"Desktop Entry";
|
|
|
|
constexpr auto DesktopFileActionKey = u8"Desktop Action ";
|
2023-08-14 16:30:16 +08:00
|
|
|
|
|
|
|
constexpr auto ApplicationManagerServerDBusName =
|
|
|
|
#ifdef DEBUG_MODE
|
|
|
|
u8"deepin_application_manager_debug_server_bus";
|
|
|
|
#else
|
|
|
|
u8"deepin_application_manager_server_bus";
|
|
|
|
#endif
|
|
|
|
|
|
|
|
constexpr auto ApplicationManagerDestDBusName =
|
|
|
|
#ifdef DEBUG_MODE
|
|
|
|
u8"deepin_application_manager_debug_dest_bus";
|
|
|
|
#else
|
|
|
|
u8"deepin_application_manager_dest_bus";
|
|
|
|
#endif
|
2023-08-08 15:10:32 +08:00
|
|
|
|
2023-08-28 11:11:50 +08:00
|
|
|
constexpr auto ObjectManagerInterface = "org.desktopspec.DBus.ObjectManager";
|
|
|
|
constexpr auto JobManagerInterface = "org.desktopspec.JobManager1";
|
|
|
|
constexpr auto JobInterface = "org.desktopspec.JobManager1.Job";
|
|
|
|
constexpr auto ApplicationManagerInterface = "org.desktopspec.ApplicationManager1";
|
|
|
|
constexpr auto InstanceInterface = "org.desktopspec.ApplicationManager1.Instance";
|
|
|
|
constexpr auto ApplicationInterface = "org.desktopspec.ApplicationManager1.Application";
|
|
|
|
|
2023-08-08 15:10:32 +08:00
|
|
|
#endif
|