X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/e890a6e6cdaec70e3231eff0b111c7232f42a140..4f14a010d0a7d09721c32f0d35ffbeae05ea994c:/src/clipboard.h diff --git a/src/clipboard.h b/src/clipboard.h index bb606ada..9fd3e0cc 100644 --- a/src/clipboard.h +++ b/src/clipboard.h @@ -22,7 +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 ); #endif