X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/50a14534a51f892500ee82f867e8ab2f85b936ae..4a050412da32aa6f237c358cfa0c5a3775f21e9a:/src/clipboard.h diff --git a/src/clipboard.h b/src/clipboard.h index 56e6a648..67eec225 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, const gchar* text, guint8 * data); +void a_clipboard_copy_selected ( VikLayersPanel *vlp ); gboolean a_clipboard_paste ( VikLayersPanel *vlp ); -void a_clipboard_uninit (); #endif