X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/50a14534a51f892500ee82f867e8ab2f85b936ae..de2fc9aa9e8db8e0258c8328161c6b5eda176a0a:/src/clipboard.h diff --git a/src/clipboard.h b/src/clipboard.h index 56e6a648..9fd3e0cc 100644 --- a/src/clipboard.h +++ b/src/clipboard.h @@ -22,8 +22,16 @@ #ifndef _VIKING_CLIPBOARD_H #define _VIKING_CLIPBOARD_H -void a_clipboard_copy ( VikLayersPanel *vlp ); +#include "viklayerspanel.h" + +typedef enum { + VIK_CLIPBOARD_DATA_NONE = 0, + VIK_CLIPBOARD_DATA_LAYER, + VIK_CLIPBOARD_DATA_SUBLAYER +} VikClipboardDataType; + +void a_clipboard_copy(VikClipboardDataType type, guint16 layer_type, gint subtype, guint len, guint8 * data); +void a_clipboard_copy_selected ( VikLayersPanel *vlp ); gboolean a_clipboard_paste ( VikLayersPanel *vlp ); -void a_clipboard_uninit (); #endif