Debian Codegraph @

src/utils.h

raw symbols SCIP
1 /*
2 * Copyright 2021 Marius Gripsgard <[email protected]>
3 * Copyright 2021-2023 Robert Tari <[email protected]>
4 *
5 * This program is free software: you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 3, as published
7 * by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranties of
11 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
12 * PURPOSE. See the GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18
19 #pragma once
20
21 #include <glib.h>
22 #include <glib-object.h>
23 #include <gio/gio.h>
24
25 static const char * const DESKTOP_LOMIRIcxx . . $ DESKTOP_LOMIRI. = "Lomiri";
26 static const char * const DESKTOP_UBUNTUTOUCHcxx . . $ DESKTOP_UBUNTUTOUCH. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!;
27 static const char * const DESKTOP_UNITYcxx . . $ DESKTOP_UNITY. = "Unity";
28 static const char * const DESKTOP_MATEcxx . . $ DESKTOP_MATE. = "MATE";
29 static const char * const DESKTOP_GNOMEcxx . . $ DESKTOP_GNOME. = "GNOME";
30 static const char * const DESKTOP_XFCEcxx . . $ DESKTOP_XFCE. = "XFCE";
31 static const char * const DESKTOP_PANTHEONcxx . . $ DESKTOP_PANTHEON. = "PANTHEON";
32 static const char * const DESKTOP_BUDGIEcxx . . $ DESKTOP_BUDGIE. = "Budgie";
33 static const char * const SESSION_LOMIRIcxx . . $ SESSION_LOMIRI. = "lomiri";
34 static const char * const SESSION_UBUNTUTOUCHcxx . . $ SESSION_UBUNTUTOUCH. = "ubuntu-touch";
35 static const char * const SESSION_UNITYcxx . . $ SESSION_UNITY. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!;
36 static const char * const SESSION_MATEcxx . . $ SESSION_MATE. = "mate";
37 static const char * const SESSION_GNOMEcxx . . $ SESSION_GNOME. = "gnome";
38 static const char * const SESSION_XFCEcxx . . $ SESSION_XFCE. = "xfce";
39 static const char * const SESSION_PANTHEONcxx . . $ SESSION_PANTHEON. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!;
40 static const char * const SESSION_BUDGIEcxx . . $ SESSION_BUDGIE. = "budgie-desktop";
41
42 gbooleancxx . . $ gboolean# ayatana_common_utils_is_lomiricxx . . $ ayatana_common_utils_is_lomiri(d1b40a211a1a4e4c).();
43 gbooleancxx . . $ gboolean# ayatana_common_utils_is_ubuntutouchcxx . . $ ayatana_common_utils_is_ubuntutouch(d1b40a211a1a4e4c).();
44 gbooleancxx . . $ gboolean# ayatana_common_utils_is_unitycxx . . $ ayatana_common_utils_is_unity(d1b40a211a1a4e4c).();
45 gbooleancxx . . $ gboolean# ayatana_common_utils_is_gnomecxx . . $ ayatana_common_utils_is_gnome(d1b40a211a1a4e4c).();
46 gbooleancxx . . $ gboolean# ayatana_common_utils_is_matecxx . . $ ayatana_common_utils_is_mate(d1b40a211a1a4e4c).();
47 gbooleancxx . . $ gboolean# ayatana_common_utils_is_xfcecxx . . $ ayatana_common_utils_is_xfce(d1b40a211a1a4e4c).();
48 gbooleancxx . . $ gboolean# ayatana_common_utils_is_pantheoncxx . . $ ayatana_common_utils_is_pantheon(d1b40a211a1a4e4c).();
49 gbooleancxx . . $ gboolean# ayatana_common_utils_is_budgiecxx . . $ ayatana_common_utils_is_budgie(d1b40a211a1a4e4c).();
50
51 gbooleancxx . . $ gboolean# ayatana_common_utils_have_unity_programcxx . . $ ayatana_common_utils_have_unity_program(5c4306d8553b3696). (const gcharcxx . . $ gchar# *program);
52 gbooleancxx . . $ gboolean# ayatana_common_utils_have_gnome_programcxx . . $ ayatana_common_utils_have_gnome_program(5c4306d8553b3696). (const gcharcxx . . $ gchar# *program);
53 gbooleancxx . . $ gboolean# ayatana_common_utils_have_mate_programcxx . . $ ayatana_common_utils_have_mate_program(5c4306d8553b3696). (const gcharcxx . . $ gchar# *program);
54 gbooleancxx . . $ gboolean# ayatana_common_utils_have_xfce_programcxx . . $ ayatana_common_utils_have_xfce_program(5c4306d8553b3696). (const gcharcxx . . $ gchar# *program);
55 gbooleancxx . . $ gboolean# ayatana_common_utils_have_pantheon_programcxx . . $ ayatana_common_utils_have_pantheon_program(5c4306d8553b3696). (const gcharcxx . . $ gchar# *program);
56 gbooleancxx . . $ gboolean# ayatana_common_utils_have_budgie_programcxx . . $ ayatana_common_utils_have_budgie_program(5c4306d8553b3696). (const gcharcxx . . $ gchar# *program);
57
58 gbooleancxx . . $ gboolean# ayatana_common_utils_execute_commandcxx . . $ ayatana_common_utils_execute_command(5c4306d8553b3696).(const gcharcxx . . $ gchar# * cmd);
59 gbooleancxx . . $ gboolean# ayatana_common_utils_open_urlcxx . . $ ayatana_common_utils_open_url(5c4306d8553b3696).(const gcharcxx . . $ gchar# * url);
60 gbooleancxx . . $ gboolean# ayatana_common_utils_have_programcxx . . $ ayatana_common_utils_have_program(5c4306d8553b3696).(const gcharcxx . . $ gchar# * program);
61 gbooleancxx . . $ gboolean# ayatana_common_utils_zenity_warningcxx . . $ ayatana_common_utils_zenity_warning(a8ee6f950d471de8).(const char *icon_name, const char *title, const char *text);
62 void ayatana_common_utils_ellipsizecxx . . $ ayatana_common_utils_ellipsize(fda57c8427c60377).(char *sText);
63 gbooleancxx . . $ gboolean# ayatana_common_utils_execute_command_warncxx . . $ ayatana_common_utils_execute_command_warn(5ae29d726ae57f88). (const gcharcxx . . $ gchar# *sProgram, const gcharcxx . . $ gchar# *sArgs);
64 gbooleancxx . . $ gboolean# ayatana_common_utils_zenity_questioncxx . . $ ayatana_common_utils_zenity_question(3bd9a0676092b391). (const gcharcxx . . $ gchar# *sIcon, const gcharcxx . . $ gchar# *sTitle, const gcharcxx . . $ gchar# *sText, const gcharcxx . . $ gchar# *sOk, const gcharcxx . . $ gchar# *sCancel);