diff --git a/LICENSE b/LICENSE index 0a145c1c..f433b1a5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,8 +1,177 @@ -Copyright (c) 2013 Andreas Würl -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + 1. Definitions. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS diff --git a/app/build.gradle b/app/build.gradle index 89c82a5a..b9b03a13 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -18,7 +18,7 @@ android { applicationId "org.blitzortung.android.app" minSdkVersion 8 targetSdkVersion 23 - versionCode 155 + versionCode 156 versionName "1.4.0" multiDexEnabled true } diff --git a/app/src/main/java/org/blitzortung/android/alert/AlertLabel.kt b/app/src/main/java/org/blitzortung/android/alert/AlertLabel.kt index 43a09b8c..32e1f1ad 100644 --- a/app/src/main/java/org/blitzortung/android/alert/AlertLabel.kt +++ b/app/src/main/java/org/blitzortung/android/alert/AlertLabel.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert interface AlertLabel { diff --git a/app/src/main/java/org/blitzortung/android/alert/AlertLabelHandler.kt b/app/src/main/java/org/blitzortung/android/alert/AlertLabelHandler.kt index 81ac30c8..b833f1c2 100644 --- a/app/src/main/java/org/blitzortung/android/alert/AlertLabelHandler.kt +++ b/app/src/main/java/org/blitzortung/android/alert/AlertLabelHandler.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert import android.content.res.Resources diff --git a/app/src/main/java/org/blitzortung/android/alert/AlertParameters.kt b/app/src/main/java/org/blitzortung/android/alert/AlertParameters.kt index ffcec578..dae42e50 100644 --- a/app/src/main/java/org/blitzortung/android/alert/AlertParameters.kt +++ b/app/src/main/java/org/blitzortung/android/alert/AlertParameters.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert import org.blitzortung.android.util.MeasurementSystem diff --git a/app/src/main/java/org/blitzortung/android/alert/AlertResult.kt b/app/src/main/java/org/blitzortung/android/alert/AlertResult.kt index bc7f3812..425f3779 100644 --- a/app/src/main/java/org/blitzortung/android/alert/AlertResult.kt +++ b/app/src/main/java/org/blitzortung/android/alert/AlertResult.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert import org.blitzortung.android.alert.data.AlertSector diff --git a/app/src/main/java/org/blitzortung/android/alert/data/AlertSector.kt b/app/src/main/java/org/blitzortung/android/alert/data/AlertSector.kt index 29469e76..297bc3c5 100644 --- a/app/src/main/java/org/blitzortung/android/alert/data/AlertSector.kt +++ b/app/src/main/java/org/blitzortung/android/alert/data/AlertSector.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert.data data class AlertSector( diff --git a/app/src/main/java/org/blitzortung/android/alert/data/AlertSectorRange.kt b/app/src/main/java/org/blitzortung/android/alert/data/AlertSectorRange.kt index 65aa48f8..4136091b 100644 --- a/app/src/main/java/org/blitzortung/android/alert/data/AlertSectorRange.kt +++ b/app/src/main/java/org/blitzortung/android/alert/data/AlertSectorRange.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert.data data class AlertSectorRange( diff --git a/app/src/main/java/org/blitzortung/android/alert/data/AlertSignal.kt b/app/src/main/java/org/blitzortung/android/alert/data/AlertSignal.kt index 3782a06d..344341f2 100644 --- a/app/src/main/java/org/blitzortung/android/alert/data/AlertSignal.kt +++ b/app/src/main/java/org/blitzortung/android/alert/data/AlertSignal.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert.data import android.net.Uri diff --git a/app/src/main/java/org/blitzortung/android/alert/event/AlertCancelEvent.kt b/app/src/main/java/org/blitzortung/android/alert/event/AlertCancelEvent.kt index e99e751b..2907ed76 100644 --- a/app/src/main/java/org/blitzortung/android/alert/event/AlertCancelEvent.kt +++ b/app/src/main/java/org/blitzortung/android/alert/event/AlertCancelEvent.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert.event class AlertCancelEvent : AlertEvent { diff --git a/app/src/main/java/org/blitzortung/android/alert/event/AlertEvent.kt b/app/src/main/java/org/blitzortung/android/alert/event/AlertEvent.kt index e63ee368..2242e5bf 100644 --- a/app/src/main/java/org/blitzortung/android/alert/event/AlertEvent.kt +++ b/app/src/main/java/org/blitzortung/android/alert/event/AlertEvent.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert.event import org.blitzortung.android.protocol.Event diff --git a/app/src/main/java/org/blitzortung/android/alert/event/AlertResultEvent.kt b/app/src/main/java/org/blitzortung/android/alert/event/AlertResultEvent.kt index 1835c228..bda97683 100644 --- a/app/src/main/java/org/blitzortung/android/alert/event/AlertResultEvent.kt +++ b/app/src/main/java/org/blitzortung/android/alert/event/AlertResultEvent.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert.event import org.blitzortung.android.alert.AlertResult diff --git a/app/src/main/java/org/blitzortung/android/alert/handler/AggregatingAlertSector.kt b/app/src/main/java/org/blitzortung/android/alert/handler/AggregatingAlertSector.kt index a0c87c81..65290b87 100644 --- a/app/src/main/java/org/blitzortung/android/alert/handler/AggregatingAlertSector.kt +++ b/app/src/main/java/org/blitzortung/android/alert/handler/AggregatingAlertSector.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert.handler import org.blitzortung.android.alert.data.AlertSector diff --git a/app/src/main/java/org/blitzortung/android/alert/handler/AggregatingAlertSectorRange.kt b/app/src/main/java/org/blitzortung/android/alert/handler/AggregatingAlertSectorRange.kt index aa34487d..e3a093b6 100644 --- a/app/src/main/java/org/blitzortung/android/alert/handler/AggregatingAlertSectorRange.kt +++ b/app/src/main/java/org/blitzortung/android/alert/handler/AggregatingAlertSectorRange.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert.handler import org.blitzortung.android.alert.data.AlertSectorRange diff --git a/app/src/main/java/org/blitzortung/android/alert/handler/AlertDataHandler.kt b/app/src/main/java/org/blitzortung/android/alert/handler/AlertDataHandler.kt index ff1c0e5a..55db0188 100644 --- a/app/src/main/java/org/blitzortung/android/alert/handler/AlertDataHandler.kt +++ b/app/src/main/java/org/blitzortung/android/alert/handler/AlertDataHandler.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert.handler import android.location.Location diff --git a/app/src/main/java/org/blitzortung/android/alert/handler/AlertHandler.kt b/app/src/main/java/org/blitzortung/android/alert/handler/AlertHandler.kt index a2f060ac..03b15f46 100644 --- a/app/src/main/java/org/blitzortung/android/alert/handler/AlertHandler.kt +++ b/app/src/main/java/org/blitzortung/android/alert/handler/AlertHandler.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.alert.handler import android.content.Context diff --git a/app/src/main/java/org/blitzortung/android/app/AppService.kt b/app/src/main/java/org/blitzortung/android/app/AppService.kt index cd898ef1..8f2cba02 100644 --- a/app/src/main/java/org/blitzortung/android/app/AppService.kt +++ b/app/src/main/java/org/blitzortung/android/app/AppService.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app import android.app.AlarmManager diff --git a/app/src/main/java/org/blitzortung/android/app/BootReceiver.kt b/app/src/main/java/org/blitzortung/android/app/BootReceiver.kt index d7f0fa86..f3393b57 100644 --- a/app/src/main/java/org/blitzortung/android/app/BootReceiver.kt +++ b/app/src/main/java/org/blitzortung/android/app/BootReceiver.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app import android.content.BroadcastReceiver diff --git a/app/src/main/java/org/blitzortung/android/app/ButtonGroup.kt b/app/src/main/java/org/blitzortung/android/app/ButtonGroup.kt index bfaa8e92..0a3e0eae 100644 --- a/app/src/main/java/org/blitzortung/android/app/ButtonGroup.kt +++ b/app/src/main/java/org/blitzortung/android/app/ButtonGroup.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app enum class ButtonGroup { diff --git a/app/src/main/java/org/blitzortung/android/app/Main.kt b/app/src/main/java/org/blitzortung/android/app/Main.kt index b06ff021..69b0b566 100644 --- a/app/src/main/java/org/blitzortung/android/app/Main.kt +++ b/app/src/main/java/org/blitzortung/android/app/Main.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app import android.Manifest diff --git a/app/src/main/java/org/blitzortung/android/app/Preferences.kt b/app/src/main/java/org/blitzortung/android/app/Preferences.kt index aeea9be2..823bc06f 100644 --- a/app/src/main/java/org/blitzortung/android/app/Preferences.kt +++ b/app/src/main/java/org/blitzortung/android/app/Preferences.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app import android.content.SharedPreferences diff --git a/app/src/main/java/org/blitzortung/android/app/WidgetProvider.kt b/app/src/main/java/org/blitzortung/android/app/WidgetProvider.kt index c1611d19..ce6e9560 100644 --- a/app/src/main/java/org/blitzortung/android/app/WidgetProvider.kt +++ b/app/src/main/java/org/blitzortung/android/app/WidgetProvider.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app import android.appwidget.AppWidgetManager diff --git a/app/src/main/java/org/blitzortung/android/app/components/VersionComponent.kt b/app/src/main/java/org/blitzortung/android/app/components/VersionComponent.kt index 630ccf4e..c09f0977 100644 --- a/app/src/main/java/org/blitzortung/android/app/components/VersionComponent.kt +++ b/app/src/main/java/org/blitzortung/android/app/components/VersionComponent.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app.components import android.content.Context diff --git a/app/src/main/java/org/blitzortung/android/app/controller/ButtonColumnHandler.kt b/app/src/main/java/org/blitzortung/android/app/controller/ButtonColumnHandler.kt index 575120b0..ccffb859 100644 --- a/app/src/main/java/org/blitzortung/android/app/controller/ButtonColumnHandler.kt +++ b/app/src/main/java/org/blitzortung/android/app/controller/ButtonColumnHandler.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app.controller import android.view.View diff --git a/app/src/main/java/org/blitzortung/android/app/controller/HistoryController.kt b/app/src/main/java/org/blitzortung/android/app/controller/HistoryController.kt index 1a674274..44510519 100644 --- a/app/src/main/java/org/blitzortung/android/app/controller/HistoryController.kt +++ b/app/src/main/java/org/blitzortung/android/app/controller/HistoryController.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app.controller import android.app.Activity diff --git a/app/src/main/java/org/blitzortung/android/app/controller/NotificationHandler.kt b/app/src/main/java/org/blitzortung/android/app/controller/NotificationHandler.kt index 941881c6..b18e899c 100644 --- a/app/src/main/java/org/blitzortung/android/app/controller/NotificationHandler.kt +++ b/app/src/main/java/org/blitzortung/android/app/controller/NotificationHandler.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app.controller diff --git a/app/src/main/java/org/blitzortung/android/app/helper/ViewHelper.kt b/app/src/main/java/org/blitzortung/android/app/helper/ViewHelper.kt index d43cca99..c181cb77 100644 --- a/app/src/main/java/org/blitzortung/android/app/helper/ViewHelper.kt +++ b/app/src/main/java/org/blitzortung/android/app/helper/ViewHelper.kt @@ -1,6 +1,23 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app.helper -import android.util.DisplayMetrics import android.view.View object ViewHelper { diff --git a/app/src/main/java/org/blitzortung/android/app/view/AlertView.kt b/app/src/main/java/org/blitzortung/android/app/view/AlertView.kt index 913bb610..3667e8f1 100644 --- a/app/src/main/java/org/blitzortung/android/app/view/AlertView.kt +++ b/app/src/main/java/org/blitzortung/android/app/view/AlertView.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app.view import android.content.Context diff --git a/app/src/main/java/org/blitzortung/android/app/view/HistogramView.kt b/app/src/main/java/org/blitzortung/android/app/view/HistogramView.kt index a8732d0f..e82b5fcd 100644 --- a/app/src/main/java/org/blitzortung/android/app/view/HistogramView.kt +++ b/app/src/main/java/org/blitzortung/android/app/view/HistogramView.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app.view import android.content.Context diff --git a/app/src/main/java/org/blitzortung/android/app/view/LegendView.kt b/app/src/main/java/org/blitzortung/android/app/view/LegendView.kt index 2bea128b..a046b3e9 100644 --- a/app/src/main/java/org/blitzortung/android/app/view/LegendView.kt +++ b/app/src/main/java/org/blitzortung/android/app/view/LegendView.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app.view import android.content.Context diff --git a/app/src/main/java/org/blitzortung/android/app/view/PreferenceKey.kt b/app/src/main/java/org/blitzortung/android/app/view/PreferenceKey.kt index 5ada555d..10921986 100644 --- a/app/src/main/java/org/blitzortung/android/app/view/PreferenceKey.kt +++ b/app/src/main/java/org/blitzortung/android/app/view/PreferenceKey.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app.view import java.util.* diff --git a/app/src/main/java/org/blitzortung/android/app/view/components/StatusComponent.kt b/app/src/main/java/org/blitzortung/android/app/view/components/StatusComponent.kt index 0cd0a31b..22cbcf64 100644 --- a/app/src/main/java/org/blitzortung/android/app/view/components/StatusComponent.kt +++ b/app/src/main/java/org/blitzortung/android/app/view/components/StatusComponent.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.app.view.components import android.app.Activity diff --git a/app/src/main/java/org/blitzortung/android/data/Coordsys.kt b/app/src/main/java/org/blitzortung/android/data/Coordsys.kt index a66d5bee..a2062fe2 100644 --- a/app/src/main/java/org/blitzortung/android/data/Coordsys.kt +++ b/app/src/main/java/org/blitzortung/android/data/Coordsys.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data import com.google.android.maps.GeoPoint diff --git a/app/src/main/java/org/blitzortung/android/data/DataChannel.kt b/app/src/main/java/org/blitzortung/android/data/DataChannel.kt index 8f9d3daf..a3a5b4c9 100644 --- a/app/src/main/java/org/blitzortung/android/data/DataChannel.kt +++ b/app/src/main/java/org/blitzortung/android/data/DataChannel.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data enum class DataChannel { diff --git a/app/src/main/java/org/blitzortung/android/data/DataHandler.kt b/app/src/main/java/org/blitzortung/android/data/DataHandler.kt index 8e07a435..fcb2deab 100644 --- a/app/src/main/java/org/blitzortung/android/data/DataHandler.kt +++ b/app/src/main/java/org/blitzortung/android/data/DataHandler.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data import android.content.SharedPreferences diff --git a/app/src/main/java/org/blitzortung/android/data/DataMode.kt b/app/src/main/java/org/blitzortung/android/data/DataMode.kt index 2381883d..e09b14d8 100644 --- a/app/src/main/java/org/blitzortung/android/data/DataMode.kt +++ b/app/src/main/java/org/blitzortung/android/data/DataMode.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data data class DataMode( diff --git a/app/src/main/java/org/blitzortung/android/data/Parameters.kt b/app/src/main/java/org/blitzortung/android/data/Parameters.kt index d75562eb..822fc310 100644 --- a/app/src/main/java/org/blitzortung/android/data/Parameters.kt +++ b/app/src/main/java/org/blitzortung/android/data/Parameters.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data data class Parameters( diff --git a/app/src/main/java/org/blitzortung/android/data/ParametersController.kt b/app/src/main/java/org/blitzortung/android/data/ParametersController.kt index 242f2ec3..1f1af6f5 100644 --- a/app/src/main/java/org/blitzortung/android/data/ParametersController.kt +++ b/app/src/main/java/org/blitzortung/android/data/ParametersController.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data class ParametersController private constructor(private val offsetIncrement: Int) { diff --git a/app/src/main/java/org/blitzortung/android/data/TaskParameters.kt b/app/src/main/java/org/blitzortung/android/data/TaskParameters.kt index 1406ed72..474b44ef 100644 --- a/app/src/main/java/org/blitzortung/android/data/TaskParameters.kt +++ b/app/src/main/java/org/blitzortung/android/data/TaskParameters.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data diff --git a/app/src/main/java/org/blitzortung/android/data/TimeIntervalWithOffset.kt b/app/src/main/java/org/blitzortung/android/data/TimeIntervalWithOffset.kt index 6a977fd5..da320f3e 100644 --- a/app/src/main/java/org/blitzortung/android/data/TimeIntervalWithOffset.kt +++ b/app/src/main/java/org/blitzortung/android/data/TimeIntervalWithOffset.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data interface TimeIntervalWithOffset { diff --git a/app/src/main/java/org/blitzortung/android/data/beans/DefaultStrike.kt b/app/src/main/java/org/blitzortung/android/data/beans/DefaultStrike.kt index bc697d0b..5304e530 100644 --- a/app/src/main/java/org/blitzortung/android/data/beans/DefaultStrike.kt +++ b/app/src/main/java/org/blitzortung/android/data/beans/DefaultStrike.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.beans import java.io.Serializable diff --git a/app/src/main/java/org/blitzortung/android/data/beans/Event.kt b/app/src/main/java/org/blitzortung/android/data/beans/Event.kt index d62346f9..16f27a9d 100644 --- a/app/src/main/java/org/blitzortung/android/data/beans/Event.kt +++ b/app/src/main/java/org/blitzortung/android/data/beans/Event.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.beans interface Event : Location { diff --git a/app/src/main/java/org/blitzortung/android/data/beans/Location.kt b/app/src/main/java/org/blitzortung/android/data/beans/Location.kt index d6a59096..20cb536c 100644 --- a/app/src/main/java/org/blitzortung/android/data/beans/Location.kt +++ b/app/src/main/java/org/blitzortung/android/data/beans/Location.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.beans interface Location { diff --git a/app/src/main/java/org/blitzortung/android/data/beans/RasterElement.kt b/app/src/main/java/org/blitzortung/android/data/beans/RasterElement.kt index 3e7b3c47..dfe7a703 100644 --- a/app/src/main/java/org/blitzortung/android/data/beans/RasterElement.kt +++ b/app/src/main/java/org/blitzortung/android/data/beans/RasterElement.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.beans import java.io.Serializable diff --git a/app/src/main/java/org/blitzortung/android/data/beans/RasterParameters.kt b/app/src/main/java/org/blitzortung/android/data/beans/RasterParameters.kt index d57aa208..d0418bc7 100644 --- a/app/src/main/java/org/blitzortung/android/data/beans/RasterParameters.kt +++ b/app/src/main/java/org/blitzortung/android/data/beans/RasterParameters.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.beans import android.graphics.Point diff --git a/app/src/main/java/org/blitzortung/android/data/beans/Station.kt b/app/src/main/java/org/blitzortung/android/data/beans/Station.kt index bc36b703..e975e2a3 100644 --- a/app/src/main/java/org/blitzortung/android/data/beans/Station.kt +++ b/app/src/main/java/org/blitzortung/android/data/beans/Station.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.beans class Station(override val longitude: Float, override val latitude: Float, val name: String, val offlineSince: Long) : Location { diff --git a/app/src/main/java/org/blitzortung/android/data/beans/Strike.kt b/app/src/main/java/org/blitzortung/android/data/beans/Strike.kt index fd73ce17..33209545 100644 --- a/app/src/main/java/org/blitzortung/android/data/beans/Strike.kt +++ b/app/src/main/java/org/blitzortung/android/data/beans/Strike.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.beans interface Strike : Event { diff --git a/app/src/main/java/org/blitzortung/android/data/provider/DataBuilder.kt b/app/src/main/java/org/blitzortung/android/data/provider/DataBuilder.kt index 277d3205..6ff6017b 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/DataBuilder.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/DataBuilder.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider import org.blitzortung.android.data.beans.* diff --git a/app/src/main/java/org/blitzortung/android/data/provider/DataProvider.kt b/app/src/main/java/org/blitzortung/android/data/provider/DataProvider.kt index a30b405d..70254772 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/DataProvider.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/DataProvider.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider import android.content.pm.PackageInfo diff --git a/app/src/main/java/org/blitzortung/android/data/provider/DataProviderFactory.kt b/app/src/main/java/org/blitzortung/android/data/provider/DataProviderFactory.kt index 379a607b..bc3860d9 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/DataProviderFactory.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/DataProviderFactory.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider import android.content.SharedPreferences diff --git a/app/src/main/java/org/blitzortung/android/data/provider/DataProviderType.kt b/app/src/main/java/org/blitzortung/android/data/provider/DataProviderType.kt index 751afd33..30447a21 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/DataProviderType.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/DataProviderType.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider enum class DataProviderType { diff --git a/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/BlitzortungHttpDataProvider.kt b/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/BlitzortungHttpDataProvider.kt index fe1fa278..c3e5bea3 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/BlitzortungHttpDataProvider.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/BlitzortungHttpDataProvider.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider.blitzortung import android.util.Log diff --git a/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/IntervalTimer.kt b/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/IntervalTimer.kt index 755f1e0b..f6694289 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/IntervalTimer.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/IntervalTimer.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider.blitzortung class IntervalTimer(private val intervalLength: Long) { diff --git a/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/MapBuilder.kt b/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/MapBuilder.kt index fd7137b6..57278d75 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/MapBuilder.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/MapBuilder.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider.blitzortung import android.text.Html diff --git a/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/MapBuilderFactory.kt b/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/MapBuilderFactory.kt index 51413449..43994bf6 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/MapBuilderFactory.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/MapBuilderFactory.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider.blitzortung import org.blitzortung.android.data.beans.DefaultStrike diff --git a/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/UrlFormatter.kt b/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/UrlFormatter.kt index 844b8b67..3a05ce5e 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/UrlFormatter.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/blitzortung/UrlFormatter.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider.blitzortung import android.text.format.DateFormat diff --git a/app/src/main/java/org/blitzortung/android/data/provider/result/ClearDataEvent.kt b/app/src/main/java/org/blitzortung/android/data/provider/result/ClearDataEvent.kt index 1f6227f6..74714438 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/result/ClearDataEvent.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/result/ClearDataEvent.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider.result class ClearDataEvent : DataEvent diff --git a/app/src/main/java/org/blitzortung/android/data/provider/result/DataEvent.kt b/app/src/main/java/org/blitzortung/android/data/provider/result/DataEvent.kt index 11e4b61c..1522bee5 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/result/DataEvent.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/result/DataEvent.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider.result import org.blitzortung.android.protocol.Event diff --git a/app/src/main/java/org/blitzortung/android/data/provider/result/RequestStartedEvent.kt b/app/src/main/java/org/blitzortung/android/data/provider/result/RequestStartedEvent.kt index 86ace676..8f42ecae 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/result/RequestStartedEvent.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/result/RequestStartedEvent.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider.result class RequestStartedEvent : DataEvent diff --git a/app/src/main/java/org/blitzortung/android/data/provider/result/ResultEvent.kt b/app/src/main/java/org/blitzortung/android/data/provider/result/ResultEvent.kt index 05413eb6..946ceb2a 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/result/ResultEvent.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/result/ResultEvent.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider.result import org.blitzortung.android.data.Parameters diff --git a/app/src/main/java/org/blitzortung/android/data/provider/result/StatusEvent.kt b/app/src/main/java/org/blitzortung/android/data/provider/result/StatusEvent.kt index c22a7abb..1557bac3 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/result/StatusEvent.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/result/StatusEvent.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider.result data class StatusEvent(val status: String) : DataEvent diff --git a/app/src/main/java/org/blitzortung/android/data/provider/standard/JsonRpcDataProvider.kt b/app/src/main/java/org/blitzortung/android/data/provider/standard/JsonRpcDataProvider.kt index 8ace3d7c..c90b5064 100644 --- a/app/src/main/java/org/blitzortung/android/data/provider/standard/JsonRpcDataProvider.kt +++ b/app/src/main/java/org/blitzortung/android/data/provider/standard/JsonRpcDataProvider.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.data.provider.standard import android.util.Log diff --git a/app/src/main/java/org/blitzortung/android/dialogs/AlertDialog.kt b/app/src/main/java/org/blitzortung/android/dialogs/AlertDialog.kt index a2ebbfba..37895d43 100644 --- a/app/src/main/java/org/blitzortung/android/dialogs/AlertDialog.kt +++ b/app/src/main/java/org/blitzortung/android/dialogs/AlertDialog.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.dialogs import android.content.Context diff --git a/app/src/main/java/org/blitzortung/android/dialogs/AlertDialogColorHandler.kt b/app/src/main/java/org/blitzortung/android/dialogs/AlertDialogColorHandler.kt index 8fbd28ed..f6748763 100644 --- a/app/src/main/java/org/blitzortung/android/dialogs/AlertDialogColorHandler.kt +++ b/app/src/main/java/org/blitzortung/android/dialogs/AlertDialogColorHandler.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.dialogs import android.content.SharedPreferences diff --git a/app/src/main/java/org/blitzortung/android/dialogs/InfoDialog.kt b/app/src/main/java/org/blitzortung/android/dialogs/InfoDialog.kt index 260ce8f4..bb0467c9 100644 --- a/app/src/main/java/org/blitzortung/android/dialogs/InfoDialog.kt +++ b/app/src/main/java/org/blitzortung/android/dialogs/InfoDialog.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.dialogs import android.annotation.SuppressLint diff --git a/app/src/main/java/org/blitzortung/android/dialogs/QuickSettingsDialog.kt b/app/src/main/java/org/blitzortung/android/dialogs/QuickSettingsDialog.kt index 2afcb570..3786ad7f 100644 --- a/app/src/main/java/org/blitzortung/android/dialogs/QuickSettingsDialog.kt +++ b/app/src/main/java/org/blitzortung/android/dialogs/QuickSettingsDialog.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.dialogs import android.annotation.SuppressLint diff --git a/app/src/main/java/org/blitzortung/android/jsonrpc/HttpServiceClient.kt b/app/src/main/java/org/blitzortung/android/jsonrpc/HttpServiceClient.kt index c756f6b0..26b4d834 100644 --- a/app/src/main/java/org/blitzortung/android/jsonrpc/HttpServiceClient.kt +++ b/app/src/main/java/org/blitzortung/android/jsonrpc/HttpServiceClient.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.jsonrpc interface HttpServiceClient { diff --git a/app/src/main/java/org/blitzortung/android/jsonrpc/HttpServiceClientDefault.kt b/app/src/main/java/org/blitzortung/android/jsonrpc/HttpServiceClientDefault.kt index 6301b844..2ec1e90a 100644 --- a/app/src/main/java/org/blitzortung/android/jsonrpc/HttpServiceClientDefault.kt +++ b/app/src/main/java/org/blitzortung/android/jsonrpc/HttpServiceClientDefault.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.jsonrpc import java.io.InputStreamReader diff --git a/app/src/main/java/org/blitzortung/android/jsonrpc/JsonRpcClient.kt b/app/src/main/java/org/blitzortung/android/jsonrpc/JsonRpcClient.kt index 9650098a..5597b891 100644 --- a/app/src/main/java/org/blitzortung/android/jsonrpc/JsonRpcClient.kt +++ b/app/src/main/java/org/blitzortung/android/jsonrpc/JsonRpcClient.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.jsonrpc import org.json.JSONArray diff --git a/app/src/main/java/org/blitzortung/android/jsonrpc/JsonRpcException.kt b/app/src/main/java/org/blitzortung/android/jsonrpc/JsonRpcException.kt index ed41e549..7f184556 100644 --- a/app/src/main/java/org/blitzortung/android/jsonrpc/JsonRpcException.kt +++ b/app/src/main/java/org/blitzortung/android/jsonrpc/JsonRpcException.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.jsonrpc diff --git a/app/src/main/java/org/blitzortung/android/location/LocationEvent.kt b/app/src/main/java/org/blitzortung/android/location/LocationEvent.kt index 663f853f..8e2885f4 100644 --- a/app/src/main/java/org/blitzortung/android/location/LocationEvent.kt +++ b/app/src/main/java/org/blitzortung/android/location/LocationEvent.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.location import android.location.Location diff --git a/app/src/main/java/org/blitzortung/android/location/LocationHandler.kt b/app/src/main/java/org/blitzortung/android/location/LocationHandler.kt index 6f871fa6..4ad8cdba 100644 --- a/app/src/main/java/org/blitzortung/android/location/LocationHandler.kt +++ b/app/src/main/java/org/blitzortung/android/location/LocationHandler.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.location import android.Manifest diff --git a/app/src/main/java/org/blitzortung/android/map/OwnMapActivity.kt b/app/src/main/java/org/blitzortung/android/map/OwnMapActivity.kt index cb01a796..42517aac 100644 --- a/app/src/main/java/org/blitzortung/android/map/OwnMapActivity.kt +++ b/app/src/main/java/org/blitzortung/android/map/OwnMapActivity.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map import android.util.Log diff --git a/app/src/main/java/org/blitzortung/android/map/OwnMapView.kt b/app/src/main/java/org/blitzortung/android/map/OwnMapView.kt index f9ed161c..69705c4e 100644 --- a/app/src/main/java/org/blitzortung/android/map/OwnMapView.kt +++ b/app/src/main/java/org/blitzortung/android/map/OwnMapView.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map import android.content.Context diff --git a/app/src/main/java/org/blitzortung/android/map/components/LayerOverlayComponent.kt b/app/src/main/java/org/blitzortung/android/map/components/LayerOverlayComponent.kt index 42cf25f7..e5542d59 100644 --- a/app/src/main/java/org/blitzortung/android/map/components/LayerOverlayComponent.kt +++ b/app/src/main/java/org/blitzortung/android/map/components/LayerOverlayComponent.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.components import org.blitzortung.android.map.overlay.LayerOverlay diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/FadeOverlay.kt b/app/src/main/java/org/blitzortung/android/map/overlay/FadeOverlay.kt index 4118f1c0..c734708b 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/FadeOverlay.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/FadeOverlay.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay import android.graphics.Canvas diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/LayerOverlay.kt b/app/src/main/java/org/blitzortung/android/map/overlay/LayerOverlay.kt index ac97e43b..281623c3 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/LayerOverlay.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/LayerOverlay.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay interface LayerOverlay { diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/OwnLocationOverlay.kt b/app/src/main/java/org/blitzortung/android/map/overlay/OwnLocationOverlay.kt index b1ce07c5..19aeda9b 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/OwnLocationOverlay.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/OwnLocationOverlay.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay import android.content.Context diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/OwnLocationOverlayItem.kt b/app/src/main/java/org/blitzortung/android/map/overlay/OwnLocationOverlayItem.kt index fadfcd72..a4a618ed 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/OwnLocationOverlayItem.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/OwnLocationOverlayItem.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay import android.location.Location diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/OwnLocationShape.kt b/app/src/main/java/org/blitzortung/android/map/overlay/OwnLocationShape.kt index 2965c0a8..032a9307 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/OwnLocationShape.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/OwnLocationShape.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay import android.graphics.Canvas diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/ParticipantOverlayItem.kt b/app/src/main/java/org/blitzortung/android/map/overlay/ParticipantOverlayItem.kt index ff245b06..4eb11af8 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/ParticipantOverlayItem.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/ParticipantOverlayItem.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay import com.google.android.maps.OverlayItem diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/ParticipantShape.kt b/app/src/main/java/org/blitzortung/android/map/overlay/ParticipantShape.kt index eaaf9cc0..05f450be 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/ParticipantShape.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/ParticipantShape.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay import android.graphics.Canvas diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/ParticipantsOverlay.kt b/app/src/main/java/org/blitzortung/android/map/overlay/ParticipantsOverlay.kt index e92b89a7..f3fef57c 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/ParticipantsOverlay.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/ParticipantsOverlay.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay import android.graphics.Canvas diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/PopupOverlay.kt b/app/src/main/java/org/blitzortung/android/map/overlay/PopupOverlay.kt index c575ac4c..8b313cbc 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/PopupOverlay.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/PopupOverlay.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay import android.graphics.drawable.Drawable diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/RasterShape.kt b/app/src/main/java/org/blitzortung/android/map/overlay/RasterShape.kt index 4fa1da44..14b914a5 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/RasterShape.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/RasterShape.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay import android.graphics.Canvas diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/StrikeOverlayItem.kt b/app/src/main/java/org/blitzortung/android/map/overlay/StrikeOverlayItem.kt index 9dcf693a..23bcdb4c 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/StrikeOverlayItem.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/StrikeOverlayItem.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay import android.graphics.Point diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/StrikeShape.kt b/app/src/main/java/org/blitzortung/android/map/overlay/StrikeShape.kt index 8393215a..8c40f2d1 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/StrikeShape.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/StrikeShape.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay import android.graphics.Canvas diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/StrikesOverlay.kt b/app/src/main/java/org/blitzortung/android/map/overlay/StrikesOverlay.kt index 443ac55d..26908459 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/StrikesOverlay.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/StrikesOverlay.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay import android.graphics.Canvas diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/color/ColorHandler.kt b/app/src/main/java/org/blitzortung/android/map/overlay/color/ColorHandler.kt index 7222b076..b77352a4 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/color/ColorHandler.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/color/ColorHandler.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay.color import android.content.SharedPreferences diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/color/ColorScheme.kt b/app/src/main/java/org/blitzortung/android/map/overlay/color/ColorScheme.kt index b9205ba6..1d6d6b83 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/color/ColorScheme.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/color/ColorScheme.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay.color enum class ColorScheme private constructor(val strikeColors: IntArray) { diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/color/ColorTarget.kt b/app/src/main/java/org/blitzortung/android/map/overlay/color/ColorTarget.kt index c04f62ad..5fe42a48 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/color/ColorTarget.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/color/ColorTarget.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay.color enum class ColorTarget { diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/color/ParticipantColorHandler.kt b/app/src/main/java/org/blitzortung/android/map/overlay/color/ParticipantColorHandler.kt index 85188125..01cbbd1c 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/color/ParticipantColorHandler.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/color/ParticipantColorHandler.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay.color import android.content.SharedPreferences diff --git a/app/src/main/java/org/blitzortung/android/map/overlay/color/StrikeColorHandler.kt b/app/src/main/java/org/blitzortung/android/map/overlay/color/StrikeColorHandler.kt index c173efc9..cc39fde2 100644 --- a/app/src/main/java/org/blitzortung/android/map/overlay/color/StrikeColorHandler.kt +++ b/app/src/main/java/org/blitzortung/android/map/overlay/color/StrikeColorHandler.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.map.overlay.color import android.content.SharedPreferences diff --git a/app/src/main/java/org/blitzortung/android/preferences/SlidePreferences.kt b/app/src/main/java/org/blitzortung/android/preferences/SlidePreferences.kt index 12bca403..de451ed5 100644 --- a/app/src/main/java/org/blitzortung/android/preferences/SlidePreferences.kt +++ b/app/src/main/java/org/blitzortung/android/preferences/SlidePreferences.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.preferences import android.content.Context diff --git a/app/src/main/java/org/blitzortung/android/protocol/ConsumerContainer.kt b/app/src/main/java/org/blitzortung/android/protocol/ConsumerContainer.kt index 3e86af34..19d0328c 100644 --- a/app/src/main/java/org/blitzortung/android/protocol/ConsumerContainer.kt +++ b/app/src/main/java/org/blitzortung/android/protocol/ConsumerContainer.kt @@ -1,7 +1,23 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.protocol -import android.util.Log -import org.blitzortung.android.app.Main import java.util.* abstract class ConsumerContainer
{ diff --git a/app/src/main/java/org/blitzortung/android/protocol/Event.kt b/app/src/main/java/org/blitzortung/android/protocol/Event.kt index 8c4550e0..d889b52f 100644 --- a/app/src/main/java/org/blitzortung/android/protocol/Event.kt +++ b/app/src/main/java/org/blitzortung/android/protocol/Event.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.protocol interface Event diff --git a/app/src/main/java/org/blitzortung/android/util/MeasurementSystem.kt b/app/src/main/java/org/blitzortung/android/util/MeasurementSystem.kt index f962e693..4fd78fc8 100644 --- a/app/src/main/java/org/blitzortung/android/util/MeasurementSystem.kt +++ b/app/src/main/java/org/blitzortung/android/util/MeasurementSystem.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.util enum class MeasurementSystem private constructor(val unitName: String, private val factor: Float) { diff --git a/app/src/main/java/org/blitzortung/android/util/Period.kt b/app/src/main/java/org/blitzortung/android/util/Period.kt index 91df6db3..094fd212 100644 --- a/app/src/main/java/org/blitzortung/android/util/Period.kt +++ b/app/src/main/java/org/blitzortung/android/util/Period.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.util class Period { diff --git a/app/src/main/java/org/blitzortung/android/util/TabletAwareView.kt b/app/src/main/java/org/blitzortung/android/util/TabletAwareView.kt index f0422a64..b6ed2b8f 100644 --- a/app/src/main/java/org/blitzortung/android/util/TabletAwareView.kt +++ b/app/src/main/java/org/blitzortung/android/util/TabletAwareView.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.util import android.content.Context diff --git a/app/src/main/java/org/blitzortung/android/util/TimeFormat.kt b/app/src/main/java/org/blitzortung/android/util/TimeFormat.kt index 9284a5ad..1695b9f1 100644 --- a/app/src/main/java/org/blitzortung/android/util/TimeFormat.kt +++ b/app/src/main/java/org/blitzortung/android/util/TimeFormat.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.util import java.text.ParseException diff --git a/app/src/main/java/org/blitzortung/android/util/Version.kt b/app/src/main/java/org/blitzortung/android/util/Version.kt index e6f9df6b..fc522173 100644 --- a/app/src/main/java/org/blitzortung/android/util/Version.kt +++ b/app/src/main/java/org/blitzortung/android/util/Version.kt @@ -1,3 +1,21 @@ +/* + + Copyright 2015 Andreas Würl + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +*/ + package org.blitzortung.android.util fun isAtLeast(versionCode: Int) : Boolean {