Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / vcl / inc / unx / gtk / hudawareness.h
blobeb80e12fe4f3ed7f38e03c0981513902880804df
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_VCL_INC_UNX_GTK_HUDAWARENESS_H
11 #define INCLUDED_VCL_INC_UNX_GTK_HUDAWARENESS_H
13 #include <gio/gio.h>
15 G_BEGIN_DECLS
17 typedef void (* HudAwarenessCallback) (gboolean hud_active,
18 gpointer user_data);
20 guint hud_awareness_register (GDBusConnection *connection,
21 const gchar *object_path,
22 HudAwarenessCallback callback,
23 gpointer user_data,
24 GDestroyNotify notify,
25 GError **error);
27 void hud_awareness_unregister (GDBusConnection *connection,
28 guint awareness_id);
30 G_END_DECLS
32 #endif // INCLUDED_VCL_INC_UNX_GTK_HUDAWARENESS_H