aboutsummaryrefslogtreecommitdiffstats
path: root/src/app_launcher.h
blob: 31556095ad43e9ab36ded605ba4f061d69062b85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// SPDX-License-Identifier: Apache-2.0
/*
 * Copyright (C) 2021 Collabora Ltd
 * Copyright (C) 2022 Konsulko Group
 */

#ifndef APPLAUNCHER_H
#define APPLAUNCHER_H

#include <glib-object.h>
#include <systemd/sd-bus.h>
#include <systemd/sd-event.h>

#include "applaunch-dbus.h"
#include "app_info.h"

G_BEGIN_DECLS

#define APPLAUNCHD_TYPE_APP_LAUNCHER app_launcher_get_type()

G_DECLARE_FINAL_TYPE(AppLauncher, app_launcher, APPLAUNCHD, APP_LAUNCHER,
                     applaunchdAppLaunchSkeleton);

AppLauncher *app_launcher_get_default(void);

gboolean app_launcher_start_app(AppLauncher *self, AppInfo *app_info);

G_END_DECLS

#endif