2010-06-08 23:23:00 +04:00
|
|
|
/** \file clipboard.h
|
|
|
|
* \brief Header: Util for external clipboard
|
|
|
|
*/
|
|
|
|
|
2010-11-09 14:02:28 +03:00
|
|
|
#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 *********************************************************/
|
|
|
|
|
2010-11-22 14:45:18 +03:00
|
|
|
extern char *clipboard_store_path;
|
|
|
|
extern char *clipboard_paste_path;
|
|
|
|
|
2010-11-09 14:02:28 +03:00
|
|
|
/*** declarations of public functions ************************************************************/
|
2010-06-08 23:23:00 +04:00
|
|
|
|
2011-02-17 12:24:53 +03:00
|
|
|
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);
|
2010-06-08 23:23:00 +04:00
|
|
|
|
2010-11-09 14:02:28 +03:00
|
|
|
/*** inline functions ****************************************************************************/
|
2010-11-22 14:45:18 +03:00
|
|
|
|
2010-11-10 14:09:42 +03:00
|
|
|
#endif /* MC__CLIPBOARD_H */
|