Browse code

add missing license headers

bob authored on 17/06/2014 18:21:10
Showing 9 changed files
... ...
@@ -1,9 +1,25 @@
1
+/**
2
+ * Copyright 2014 The PlayN Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
+ * use this file except in compliance with the License. You may obtain a copy of
6
+ * the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations under
14
+ * the License.
15
+ */
16
+
1 17
 package playn.core;
2 18
 
3 19
 /**
4 20
  * Input-device interface for one gamepad
5 21
  * 
6
- * @author devnewton
22
+ * @author devnewton <devnewton@bci.im>
7 23
  */
8 24
 public interface Gamepad {
9 25
 
... ...
@@ -1,3 +1,19 @@
1
+/**
2
+ * Copyright 2014 The PlayN Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
+ * use this file except in compliance with the License. You may obtain a copy of
6
+ * the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations under
14
+ * the License.
15
+ */
16
+
1 17
 package playn.core;
2 18
 
3 19
 import java.util.List;
... ...
@@ -5,7 +21,7 @@ import java.util.List;
5 21
 /**
6 22
  * Input-device interface for gamepads
7 23
  * 
8
- * @author devnewton
24
+ * @author devnewton <devnewton@bci.im>
9 25
  */
10 26
 public interface Gamepads {
11 27
     
... ...
@@ -1,3 +1,19 @@
1
+/**
2
+ * Copyright 2014 The PlayN Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
+ * use this file except in compliance with the License. You may obtain a copy of
6
+ * the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations under
14
+ * the License.
15
+ */
16
+
1 17
 package playn.core;
2 18
 
3 19
 import java.util.Collections;
... ...
@@ -7,7 +23,7 @@ import java.util.List;
7 23
  * A NOOP gamepads service for use on platforms that don't support gamepad
8 24
  * interaction.
9 25
  *
10
- * @author devnewton
26
+ * @author devnewton <devnewton@bci.im>
11 27
  */
12 28
 public class GamepadsStub implements Gamepads {
13 29
 
... ...
@@ -1,3 +1,19 @@
1
+/**
2
+ * Copyright 2014 The PlayN Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
+ * use this file except in compliance with the License. You may obtain a copy of
6
+ * the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations under
14
+ * the License.
15
+ */
16
+
1 17
 package playn.html;
2 18
 
3 19
 import playn.core.Gamepad;
... ...
@@ -1,10 +1,26 @@
1
+/**
2
+ * Copyright 2014 The PlayN Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
+ * use this file except in compliance with the License. You may obtain a copy of
6
+ * the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations under
14
+ * the License.
15
+ */
16
+
1 17
 package playn.html;
2 18
 
3 19
 import com.google.gwt.core.client.JavaScriptObject;
4 20
 
5 21
 /**
6 22
  *
7
- * @author devnewton
23
+ * @author devnewton <devnewton@bci.im>
8 24
  */
9 25
 public final class HtmlGamepadJavascriptObject extends JavaScriptObject {
10 26
 
... ...
@@ -1,3 +1,19 @@
1
+/**
2
+ * Copyright 2014 The PlayN Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
+ * use this file except in compliance with the License. You may obtain a copy of
6
+ * the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations under
14
+ * the License.
15
+ */
16
+
1 17
 package playn.html;
2 18
 
3 19
 import com.google.gwt.core.client.JsArray;
... ...
@@ -8,7 +24,7 @@ import playn.core.Gamepads;
8 24
 
9 25
 /**
10 26
  *
11
- * @author devnewton
27
+ * @author devnewton <devnewton@bci.im>
12 28
  */
13 29
 public class HtmlGamepads implements Gamepads {
14 30
 
... ...
@@ -1,3 +1,19 @@
1
+/**
2
+ * Copyright 2014 The PlayN Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
+ * use this file except in compliance with the License. You may obtain a copy of
6
+ * the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations under
14
+ * the License.
15
+ */
16
+
1 17
 package playn.java;
2 18
 
3 19
 import org.lwjgl.input.Controller;
... ...
@@ -5,7 +21,7 @@ import playn.core.Gamepad;
5 21
 
6 22
 /**
7 23
  *
8
- * @author devnewton
24
+ * @author devnewton <devnewton@bci.im>
9 25
  */
10 26
 class JavaGamepad implements Gamepad {
11 27
 
... ...
@@ -1,9 +1,23 @@
1
+/**
2
+ * Copyright 2014 The PlayN Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
+ * use this file except in compliance with the License. You may obtain a copy of
6
+ * the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations under
14
+ * the License.
15
+ */
16
+
1 17
 package playn.java;
2 18
 
3 19
 import java.util.ArrayList;
4 20
 import java.util.List;
5
-import java.util.logging.Level;
6
-import java.util.logging.Logger;
7 21
 import org.lwjgl.LWJGLException;
8 22
 import org.lwjgl.input.Controllers;
9 23
 import playn.core.Gamepad;
... ...
@@ -12,7 +26,7 @@ import playn.core.Platform;
12 26
 
13 27
 /**
14 28
  *
15
- * @author devnewton
29
+ * @author devnewton <devnewton@bci.im>
16 30
  */
17 31
 class JavaGamepads implements Gamepads {
18 32
 
... ...
@@ -1,3 +1,19 @@
1
+/**
2
+ * Copyright 2014 The PlayN Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
+ * use this file except in compliance with the License. You may obtain a copy of
6
+ * the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations under
14
+ * the License.
15
+ */
16
+
1 17
 package playn.tests.core;
2 18
 
3 19
 import playn.core.CanvasImage;