gitg/libgitg/gitg-platform-support.h

39 lines
1.4 KiB
C
Raw Normal View History

2015-12-19 22:02:01 +00:00
/*
* This file is part of gitg
*
* Copyright (C) 2015 - Jesse van den Kieboom
*
* gitg is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* gitg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with gitg. If not, see <http://www.gnu.org/licenses/>.
*/
2015-11-08 14:14:26 +00:00
#ifndef __GITG_PLATFORM_SUPPORT_H__
#define __GITG_PLATFORM_SUPPORT_H__
#include <gdk/gdk.h>
2015-12-19 22:02:01 +00:00
#include <gio/gio.h>
2015-11-08 14:14:26 +00:00
gboolean gitg_platform_support_use_native_window_controls (GdkDisplay *display);
2015-12-19 20:03:51 +00:00
void gitg_platform_support_http_get (GFile *file,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GInputStream *gitg_platform_support_http_get_finish (GAsyncResult *result,
GError **error);
2015-11-08 14:14:26 +00:00
#endif /* __GITG_PLATFORM_SUPPORT_H__ */
2015-12-19 22:02:01 +00:00
// ex:ts=4 noet