From 8ccb487c21368a7fdc8c7c72315325bf0aa06147 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 19:44:12 +0200 Subject: Adding upstream version 3:4.8.29. Signed-off-by: Daniel Baumann --- src/clipboard.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/clipboard.h (limited to 'src/clipboard.h') diff --git a/src/clipboard.h b/src/clipboard.h new file mode 100644 index 0000000..9b2fc22 --- /dev/null +++ b/src/clipboard.h @@ -0,0 +1,33 @@ +/** \file clipboard.h + * \brief Header: Util for external clipboard + */ + +#ifndef MC__CLIPBOARD_H +#define MC__CLIPBOARD_H + +/*** typedefs(not structures) and defined constants **********************************************/ + +/*** enums ***************************************************************************************/ + +/*** structures declarations (and typedefs of structures)*****************************************/ + +/*** global variables defined in .c file *********************************************************/ + +extern char *clipboard_store_path; +extern char *clipboard_paste_path; + +/*** declarations of public functions ************************************************************/ + +gboolean clipboard_file_to_ext_clip (const gchar * event_group_name, const gchar * event_name, + gpointer init_data, gpointer data); +gboolean clipboard_file_from_ext_clip (const gchar * event_group_name, const gchar * event_name, + gpointer init_data, gpointer data); + +gboolean clipboard_text_to_file (const gchar * event_group_name, const gchar * event_name, + gpointer init_data, gpointer data); +gboolean clipboard_text_from_file (const gchar * event_group_name, const gchar * event_name, + gpointer init_data, gpointer data); + +/*** inline functions ****************************************************************************/ + +#endif /* MC__CLIPBOARD_H */ -- cgit v1.2.3