File: gitg-platform-support.vapi

package info (click to toggle)
gitg 3.30.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 18,520 kB
  • sloc: ansic: 1,635; ruby: 1,466; sh: 314; python: 259; xml: 121; makefile: 40
file content (24 lines) | stat: -rw-r--r-- 1,177 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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();
	}
}