Skip to content

Commit 8905757

Browse files
committed
added LGPL
1 parent df5b985 commit 8905757

11 files changed

+994
-0
lines changed

XInputSimulator/COPYING

Lines changed: 675 additions & 0 deletions
Large diffs are not rendered by default.

XInputSimulator/COPYING.LESSER

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
2+
GNU LESSER GENERAL PUBLIC LICENSE
3+
Version 3, 29 June 2007
4+
5+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
6+
Everyone is permitted to copy and distribute verbatim copies
7+
of this license document, but changing it is not allowed.
8+
9+
10+
This version of the GNU Lesser General Public License incorporates
11+
the terms and conditions of version 3 of the GNU General Public
12+
License, supplemented by the additional permissions listed below.
13+
14+
0. Additional Definitions.
15+
16+
As used herein, "this License" refers to version 3 of the GNU Lesser
17+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
18+
General Public License.
19+
20+
"The Library" refers to a covered work governed by this License,
21+
other than an Application or a Combined Work as defined below.
22+
23+
An "Application" is any work that makes use of an interface provided
24+
by the Library, but which is not otherwise based on the Library.
25+
Defining a subclass of a class defined by the Library is deemed a mode
26+
of using an interface provided by the Library.
27+
28+
A "Combined Work" is a work produced by combining or linking an
29+
Application with the Library. The particular version of the Library
30+
with which the Combined Work was made is also called the "Linked
31+
Version".
32+
33+
The "Minimal Corresponding Source" for a Combined Work means the
34+
Corresponding Source for the Combined Work, excluding any source code
35+
for portions of the Combined Work that, considered in isolation, are
36+
based on the Application, and not on the Linked Version.
37+
38+
The "Corresponding Application Code" for a Combined Work means the
39+
object code and/or source code for the Application, including any data
40+
and utility programs needed for reproducing the Combined Work from the
41+
Application, but excluding the System Libraries of the Combined Work.
42+
43+
1. Exception to Section 3 of the GNU GPL.
44+
45+
You may convey a covered work under sections 3 and 4 of this License
46+
without being bound by section 3 of the GNU GPL.
47+
48+
2. Conveying Modified Versions.
49+
50+
If you modify a copy of the Library, and, in your modifications, a
51+
facility refers to a function or data to be supplied by an Application
52+
that uses the facility (other than as an argument passed when the
53+
facility is invoked), then you may convey a copy of the modified
54+
version:
55+
56+
a) under this License, provided that you make a good faith effort to
57+
ensure that, in the event an Application does not supply the
58+
function or data, the facility still operates, and performs
59+
whatever part of its purpose remains meaningful, or
60+
61+
b) under the GNU GPL, with none of the additional permissions of
62+
this License applicable to that copy.
63+
64+
3. Object Code Incorporating Material from Library Header Files.
65+
66+
The object code form of an Application may incorporate material from
67+
a header file that is part of the Library. You may convey such object
68+
code under terms of your choice, provided that, if the incorporated
69+
material is not limited to numerical parameters, data structure
70+
layouts and accessors, or small macros, inline functions and templates
71+
(ten or fewer lines in length), you do both of the following:
72+
73+
a) Give prominent notice with each copy of the object code that the
74+
Library is used in it and that the Library and its use are
75+
covered by this License.
76+
77+
b) Accompany the object code with a copy of the GNU GPL and this license
78+
document.
79+
80+
4. Combined Works.
81+
82+
You may convey a Combined Work under terms of your choice that,
83+
taken together, effectively do not restrict modification of the
84+
portions of the Library contained in the Combined Work and reverse
85+
engineering for debugging such modifications, if you also do each of
86+
the following:
87+
88+
a) Give prominent notice with each copy of the Combined Work that
89+
the Library is used in it and that the Library and its use are
90+
covered by this License.
91+
92+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
93+
document.
94+
95+
c) For a Combined Work that displays copyright notices during
96+
execution, include the copyright notice for the Library among
97+
these notices, as well as a reference directing the user to the
98+
copies of the GNU GPL and this license document.
99+
100+
d) Do one of the following:
101+
102+
0) Convey the Minimal Corresponding Source under the terms of this
103+
License, and the Corresponding Application Code in a form
104+
suitable for, and under terms that permit, the user to
105+
recombine or relink the Application with a modified version of
106+
the Linked Version to produce a modified Combined Work, in the
107+
manner specified by section 6 of the GNU GPL for conveying
108+
Corresponding Source.
109+
110+
1) Use a suitable shared library mechanism for linking with the
111+
Library. A suitable mechanism is one that (a) uses at run time
112+
a copy of the Library already present on the user's computer
113+
system, and (b) will operate properly with a modified version
114+
of the Library that is interface-compatible with the Linked
115+
Version.
116+
117+
e) Provide Installation Information, but only if you would otherwise
118+
be required to provide such information under section 6 of the
119+
GNU GPL, and only to the extent that such information is
120+
necessary to install and execute a modified version of the
121+
Combined Work produced by recombining or relinking the
122+
Application with a modified version of the Linked Version. (If
123+
you use option 4d0, the Installation Information must accompany
124+
the Minimal Corresponding Source and Corresponding Application
125+
Code. If you use option 4d1, you must provide the Installation
126+
Information in the manner specified by section 6 of the GNU GPL
127+
for conveying Corresponding Source.)
128+
129+
5. Combined Libraries.
130+
131+
You may place library facilities that are a work based on the
132+
Library side by side in a single library together with other library
133+
facilities that are not Applications and are not covered by this
134+
License, and convey such a combined library under terms of your
135+
choice, if you do both of the following:
136+
137+
a) Accompany the combined library with a copy of the same work based
138+
on the Library, uncombined with any other library facilities,
139+
conveyed under the terms of this License.
140+
141+
b) Give prominent notice with the combined library that part of it
142+
is a work based on the Library, and explaining where to find the
143+
accompanying uncombined form of the same work.
144+
145+
6. Revised Versions of the GNU Lesser General Public License.
146+
147+
The Free Software Foundation may publish revised and/or new versions
148+
of the GNU Lesser General Public License from time to time. Such new
149+
versions will be similar in spirit to the present version, but may
150+
differ in detail to address new problems or concerns.
151+
152+
Each version is given a distinguishing version number. If the
153+
Library as you received it specifies that a certain numbered version
154+
of the GNU Lesser General Public License "or any later version"
155+
applies to it, you have the option of following the terms and
156+
conditions either of that published version or of any later version
157+
published by the Free Software Foundation. If the Library as you
158+
received it does not specify a version number of the GNU Lesser
159+
General Public License, you may choose any version of the GNU Lesser
160+
General Public License ever published by the Free Software Foundation.
161+
162+
If the Library as you received it specifies that a proxy can decide
163+
whether future versions of the GNU Lesser General Public License shall
164+
apply, that proxy's public statement of acceptance of any version is
165+
permanent authorization for you to choose that version for the
166+
Library.

XInputSimulator/main.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
// Copyright 2013 Dustin Bensing
2+
3+
// This file is part of XInputSimulator.
4+
5+
// XInputSimulator is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU Lesser Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
10+
// XInputSimulator is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU Lesser Public License for more details.
14+
15+
// You should have received a copy of the GNU Lesser Public License
16+
// along with XInputSimulator. If not, see <http://www.gnu.org/licenses/>.
17+
118
#include <iostream>
219
#include "xinputsimulator.h"
320

XInputSimulator/notimplementedexception.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
// Copyright 2013 Dustin Bensing
2+
3+
// This file is part of XInputSimulator.
4+
5+
// XInputSimulator is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU Lesser Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
10+
// XInputSimulator is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU Lesser Public License for more details.
14+
15+
// You should have received a copy of the GNU Lesser Public License
16+
// along with XInputSimulator. If not, see <http://www.gnu.org/licenses/>.
17+
118
#include "notimplementedexception.h"
219

320
NotImplementedException::NotImplementedException()

XInputSimulator/notimplementedexception.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
// Copyright 2013 Dustin Bensing
2+
3+
// This file is part of XInputSimulator.
4+
5+
// XInputSimulator is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU Lesser Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
10+
// XInputSimulator is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU Lesser Public License for more details.
14+
15+
// You should have received a copy of the GNU Lesser Public License
16+
// along with XInputSimulator. If not, see <http://www.gnu.org/licenses/>.
17+
118
#ifndef NOTIMPLEMENTEDEXCEPTION_H
219
#define NOTIMPLEMENTEDEXCEPTION_H
320

XInputSimulator/xinputsimulator.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
// Copyright 2013 Dustin Bensing
2+
3+
// This file is part of XInputSimulator.
4+
5+
// XInputSimulator is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU Lesser Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
10+
// XInputSimulator is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU Lesser Public License for more details.
14+
15+
// You should have received a copy of the GNU Lesser Public License
16+
// along with XInputSimulator. If not, see <http://www.gnu.org/licenses/>.
17+
118
#include "xinputsimulator.h"
219

320
void XInputSimulator::mouseMoveTo(int x, int y)

XInputSimulator/xinputsimulator.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
// Copyright 2013 Dustin Bensing
2+
3+
// This file is part of XInputSimulator.
4+
5+
// XInputSimulator is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU Lesser Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
10+
// XInputSimulator is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU Lesser Public License for more details.
14+
15+
// You should have received a copy of the GNU Lesser Public License
16+
// along with XInputSimulator. If not, see <http://www.gnu.org/licenses/>.
17+
118
#ifndef XINPUTSIMULATOR_H
219
#define XINPUTSIMULATOR_H
320

XInputSimulator/xinputsimulatorimpl.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
// Copyright 2013 Dustin Bensing
2+
3+
// This file is part of XInputSimulator.
4+
5+
// XInputSimulator is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU Lesser Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
10+
// XInputSimulator is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU Lesser Public License for more details.
14+
15+
// You should have received a copy of the GNU Lesser Public License
16+
// along with XInputSimulator. If not, see <http://www.gnu.org/licenses/>.
17+
118
#include "xinputsimulatorimpl.h"
219

320
XInputSimulatorImpl::XInputSimulatorImpl()

XInputSimulator/xinputsimulatorimpl.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
// Copyright 2013 Dustin Bensing
2+
3+
// This file is part of XInputSimulator.
4+
5+
// XInputSimulator is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU Lesser Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
10+
// XInputSimulator is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU Lesser Public License for more details.
14+
15+
// You should have received a copy of the GNU Lesser Public License
16+
// along with XInputSimulator. If not, see <http://www.gnu.org/licenses/>.
17+
118
#ifndef XINPUTSIMULATORIMPL_H
219
#define XINPUTSIMULATORIMPL_H
320

XInputSimulator/xinputsimulatorimpllinux.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,23 @@ void XInputSimulatorImplLinux::mouseMoveRelative(int x, int y)
1616
throw NotImplementedException();
1717
}
1818

19+
// Copyright 2013 Dustin Bensing
20+
21+
// This file is part of XInputSimulator.
22+
23+
// XInputSimulator is free software: you can redistribute it and/or modify
24+
// it under the terms of the GNU Lesser Public License as published by
25+
// the Free Software Foundation, either version 3 of the License, or
26+
// (at your option) any later version.
27+
28+
// XInputSimulator is distributed in the hope that it will be useful,
29+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
30+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31+
// GNU Lesser Public License for more details.
32+
33+
// You should have received a copy of the GNU Lesser Public License
34+
// along with XInputSimulator. If not, see <http://www.gnu.org/licenses/>.
35+
1936
void XInputSimulatorImplLinux::mouseDown(int button)
2037
{
2138
throw NotImplementedException();

0 commit comments

Comments
 (0)