aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/layout.hh')
-rw-r--r--dw/layout.hh24
1 files changed, 22 insertions, 2 deletions
diff --git a/dw/layout.hh b/dw/layout.hh
index 08360e19..36f433b5 100644
--- a/dw/layout.hh
+++ b/dw/layout.hh
@@ -1,3 +1,23 @@
+/*
+ * Dillo Widget
+ *
+ * Copyright 2005-2007 Sebastian Geerken <sgeerken@dillo.org>
+ * Copyright 2025 Rodrigo Arias Mallo <rodarima@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#ifndef __DW_LAYOUT_HH__
#define __DW_LAYOUT_HH__
@@ -413,9 +433,9 @@ public:
return platform->createImgbuf (type, width, height, gamma);
}
- inline void copySelection(const char *text)
+ inline void copySelection(const char *text, int destination)
{
- platform->copySelection(text);
+ platform->copySelection(text, destination);
}
inline ui::ResourceFactory *getResourceFactory ()