]> git.street.me.uk Git - andy/viking.git/blobdiff - src/clipboard.h
Add Terraserver
[andy/viking.git] / src / clipboard.h
index 56e6a64868300ae74f71c81dc4c7cae1c9847082..9fd3e0ccbbaf902434571dd53425d917b6e206ed 100644 (file)
 #ifndef _VIKING_CLIPBOARD_H
 #define _VIKING_CLIPBOARD_H
 
 #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 );
 gboolean a_clipboard_paste ( VikLayersPanel *vlp );
-void a_clipboard_uninit ();
 
 #endif
 
 #endif