X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/e890a6e6cdaec70e3231eff0b111c7232f42a140..98b7eddc9f9fa0b72f2344cbabb0f69ee177906e:/src/clipboard.h?ds=inline diff --git a/src/clipboard.h b/src/clipboard.h index bb606ada..67eec225 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, const gchar* text, guint8 * data); +void a_clipboard_copy_selected ( VikLayersPanel *vlp ); gboolean a_clipboard_paste ( VikLayersPanel *vlp ); #endif