aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.h')
-rw-r--r--src/interface.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/interface.h b/src/interface.h
index 84182ea..98254ac 100644
--- a/src/interface.h
+++ b/src/interface.h
@@ -26,6 +26,7 @@
#include <Scintilla.h>
#include "undo.h"
+#include "error.h"
namespace SciTECO {
@@ -287,6 +288,21 @@ public:
impl().cmdline_update_impl(cmdline);
}
+ /* default implementation */
+ inline void
+ set_clipboard(const gchar *name,
+ const gchar *str = NULL, gssize str_len = -1)
+ {
+ throw Error("Setting clipboard unsupported");
+ }
+
+ /* default implementation */
+ inline gchar *
+ get_clipboard(const gchar *name, gsize *str_len = NULL)
+ {
+ throw Error("Getting clipboard unsupported");
+ }
+
enum PopupEntryType {
POPUP_PLAIN,
POPUP_FILE,