mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-11-05 16:43:26 +00:00
e46658768b
This is implemented on windows to deal with the console output of the application
24 lines
1.1 KiB
Vala
24 lines
1.1 KiB
Vala
namespace Gitg
|
|
{
|
|
[CCode(cprefix = "GitgPlatformSupport", lower_case_cprefix = "gitg_platform_support_", cheader_filename = "libgitg/gitg-platform-support.h")]
|
|
public class PlatformSupport
|
|
{
|
|
public static bool use_native_window_controls(Gdk.Display? display = null);
|
|
public static async GLib.InputStream http_get(GLib.File url, GLib.Cancellable? cancellable = null) throws GLib.IOError;
|
|
|
|
public static Cairo.Surface create_cursor_surface(Gdk.Display? display,
|
|
Gdk.CursorType cursor_type,
|
|
out int hot_x = null,
|
|
out int hot_y = null,
|
|
out int width = null,
|
|
out int height = null);
|
|
|
|
public static GLib.InputStream new_input_stream_from_fd(int fd, bool close_fd);
|
|
|
|
public static string get_lib_dir();
|
|
public static string get_locale_dir();
|
|
public static string get_data_dir();
|
|
public static string? get_user_home_dir(string? user = null);
|
|
public static void application_support_prepare_startup();
|
|
}
|
|
}
|