X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/50a14534a51f892500ee82f867e8ab2f85b936ae..e96fe99dfb8c926ba4c6ee558380cc3f7f5241bc:/src/clipboard.h?ds=sidebyside 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