diff --git a/README.md b/README.md index be006df..9107e91 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # gohook -This is a work in progress. + ```Go package main diff --git a/hook.go b/hook.go index 7454f10..217d9bb 100644 --- a/hook.go +++ b/hook.go @@ -1,3 +1,13 @@ +// Copyright 2016 The go-vgo Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// https://github.com/go-vgo/robotgo/blob/master/LICENSE +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + package hook /* diff --git a/hook/darwin/event_c.h b/hook/darwin/event_c.h index c621b71..0497aec 100644 --- a/hook/darwin/event_c.h +++ b/hook/darwin/event_c.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifdef HAVE_CONFIG_H #include diff --git a/hook/darwin/hook_c.h b/hook/darwin/hook_c.h index cb8b609..474bef0 100644 --- a/hook/darwin/hook_c.h +++ b/hook/darwin/hook_c.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifdef HAVE_CONFIG_H #include diff --git a/hook/darwin/input.h b/hook/darwin/input.h index a841070..9037515 100644 --- a/hook/darwin/input.h +++ b/hook/darwin/input.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifndef _included_input_helper #define _included_input_helper diff --git a/hook/darwin/input_c.h b/hook/darwin/input_c.h index 298f67f..d884381 100644 --- a/hook/darwin/input_c.h +++ b/hook/darwin/input_c.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifdef HAVE_CONFIG_H #include diff --git a/hook/darwin/properties_c.h b/hook/darwin/properties_c.h index 0a7679c..89559e6 100644 --- a/hook/darwin/properties_c.h +++ b/hook/darwin/properties_c.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifdef HAVE_CONFIG_H #include diff --git a/hook/iohook.h b/hook/iohook.h index db0ba8b..022c2a1 100644 --- a/hook/iohook.h +++ b/hook/iohook.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifndef __IOHOOK_H #define __IOHOOK_H diff --git a/hook/logger_c.h b/hook/logger_c.h index 8752245..7ea2c9a 100644 --- a/hook/logger_c.h +++ b/hook/logger_c.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifdef HAVE_CONFIG_H #include diff --git a/hook/windows/event_c.h b/hook/windows/event_c.h index 2eb51f6..c1128fc 100644 --- a/hook/windows/event_c.h +++ b/hook/windows/event_c.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifdef HAVE_CONFIG_H #include diff --git a/hook/windows/hook_c.h b/hook/windows/hook_c.h index ed15515..ec36bc8 100644 --- a/hook/windows/hook_c.h +++ b/hook/windows/hook_c.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifdef HAVE_CONFIG_H #include diff --git a/hook/windows/input.h b/hook/windows/input.h index 6ba9817..8420d9a 100644 --- a/hook/windows/input.h +++ b/hook/windows/input.h @@ -1,3 +1,11 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ + /*********************************************************************** Input ***********************************************************************/ diff --git a/hook/windows/input_c.h b/hook/windows/input_c.h index f061b1b..c261c87 100644 --- a/hook/windows/input_c.h +++ b/hook/windows/input_c.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifdef HAVE_CONFIG_H #include diff --git a/hook/windows/properties_c.h b/hook/windows/properties_c.h index 3c8ea2b..c9f2c74 100644 --- a/hook/windows/properties_c.h +++ b/hook/windows/properties_c.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifdef HAVE_CONFIG_H #include diff --git a/hook/x11/event_c.h b/hook/x11/event_c.h index 50e5ede..85d5593 100644 --- a/hook/x11/event_c.h +++ b/hook/x11/event_c.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifdef HAVE_CONFIG_H #include diff --git a/hook/x11/hook_c.h b/hook/x11/hook_c.h index 4be4b60..4733051 100644 --- a/hook/x11/hook_c.h +++ b/hook/x11/hook_c.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifdef HAVE_CONFIG_H #include diff --git a/hook/x11/input.h b/hook/x11/input.h index 905983f..49940de 100644 --- a/hook/x11/input.h +++ b/hook/x11/input.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #define USE_XKBCOMMON 0 //#define _included_input_helper 0 diff --git a/hook/x11/input_c.h b/hook/x11/input_c.h index 8d7f39d..e132d03 100644 --- a/hook/x11/input_c.h +++ b/hook/x11/input_c.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifdef HAVE_CONFIG_H #include diff --git a/hook/x11/properties_c.h b/hook/x11/properties_c.h index 9358143..8a94b92 100644 --- a/hook/x11/properties_c.h +++ b/hook/x11/properties_c.h @@ -1,3 +1,10 @@ +/* Copyright (C) 2006-2017 Alexander Barker. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. +*/ #ifdef HAVE_CONFIG_H #include