#ifndef GGAZE_CLIPBOARD_H #define GGAZE_CLIPBOARD_H #include #include #include G_BEGIN_DECLS /* Copy a single image as PNG pixels to the clipboard (decodes in a GTask). */ void clipboard_copy_image_async(GdkClipboard *p_clip, GFile *p_file, GCancellable *p_cancel, GAsyncReadyCallback p_cb, gpointer p_data); gboolean clipboard_copy_image_finish(GAsyncResult *p_res, GError **p_err); /* Copy a list of files as text/uri-list to the clipboard. */ void clipboard_copy_uris(GdkClipboard *p_clip, GList *p_files); /* Build (but do not set) a content provider offering the given files as * text/uri-list (CRLF) and text/plain (newline-joined local paths). Returns * a new ref; caller must unref. Useful for testing without a clipboard. */ GdkContentProvider *clipboard_build_uri_provider(GList *p_files); G_END_DECLS #endif