From cacddcf530481e61ff7997c9363bfb1545804d8b Mon Sep 17 00:00:00 2001 From: Schoumi Date: Thu, 23 Sep 2021 14:55:50 +0200 Subject: [PATCH] Add Licence header in files --- .../peertubelive/activity/AccountAdapter.kt | 19 +++++++++++++++++++ .../activity/CreateLiveActivity.kt | 13 +++++++++++++ .../peertubelive/activity/MainActivity.kt | 13 +++++++++++++ .../peertubelive/activity/StreamActivity.kt | 13 +++++++++++++ .../peertubelive/dialog/AddInstanceDialog.kt | 13 +++++++++++++ .../peertubelive/manager/DatabaseHelper.kt | 13 +++++++++++++ .../peertubelive/manager/DatabaseManager.kt | 13 +++++++++++++ .../peertubelive/manager/InstanceManager.kt | 13 +++++++++++++ .../peertubelive/manager/OAuthManager.kt | 13 +++++++++++++ .../peertubelive/objects/ChannelData.kt | 13 +++++++++++++ .../mobdev/peertubelive/objects/ConfigData.kt | 13 +++++++++++++ .../mobdev/peertubelive/objects/OAuthData.kt | 13 +++++++++++++ .../mobdev/peertubelive/objects/StreamData.kt | 13 +++++++++++++ .../peertubelive/objects/StreamSettings.kt | 13 +++++++++++++ .../peertubelive/utils/TranslationUtils.kt | 13 +++++++++++++ 15 files changed, 201 insertions(+) diff --git a/app/src/main/java/fr/mobdev/peertubelive/activity/AccountAdapter.kt b/app/src/main/java/fr/mobdev/peertubelive/activity/AccountAdapter.kt index a487807..49318df 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/activity/AccountAdapter.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/activity/AccountAdapter.kt @@ -1,3 +1,22 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + + + + + + + package fr.mobdev.peertubelive.activity import android.view.LayoutInflater diff --git a/app/src/main/java/fr/mobdev/peertubelive/activity/CreateLiveActivity.kt b/app/src/main/java/fr/mobdev/peertubelive/activity/CreateLiveActivity.kt index 7e5f3aa..8bd09ba 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/activity/CreateLiveActivity.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/activity/CreateLiveActivity.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.activity import android.content.Intent diff --git a/app/src/main/java/fr/mobdev/peertubelive/activity/MainActivity.kt b/app/src/main/java/fr/mobdev/peertubelive/activity/MainActivity.kt index adcf21f..5ba8a2f 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/activity/MainActivity.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/activity/MainActivity.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.activity import android.content.DialogInterface diff --git a/app/src/main/java/fr/mobdev/peertubelive/activity/StreamActivity.kt b/app/src/main/java/fr/mobdev/peertubelive/activity/StreamActivity.kt index 64bb32d..92fefb7 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/activity/StreamActivity.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/activity/StreamActivity.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.activity import android.Manifest.permission diff --git a/app/src/main/java/fr/mobdev/peertubelive/dialog/AddInstanceDialog.kt b/app/src/main/java/fr/mobdev/peertubelive/dialog/AddInstanceDialog.kt index d04342f..2eed425 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/dialog/AddInstanceDialog.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/dialog/AddInstanceDialog.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.dialog import android.app.Dialog diff --git a/app/src/main/java/fr/mobdev/peertubelive/manager/DatabaseHelper.kt b/app/src/main/java/fr/mobdev/peertubelive/manager/DatabaseHelper.kt index 2014563..5e00560 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/manager/DatabaseHelper.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/manager/DatabaseHelper.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.manager import android.content.ContentValues diff --git a/app/src/main/java/fr/mobdev/peertubelive/manager/DatabaseManager.kt b/app/src/main/java/fr/mobdev/peertubelive/manager/DatabaseManager.kt index 11f7178..86f5dd4 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/manager/DatabaseManager.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/manager/DatabaseManager.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.manager import android.content.ContentValues diff --git a/app/src/main/java/fr/mobdev/peertubelive/manager/InstanceManager.kt b/app/src/main/java/fr/mobdev/peertubelive/manager/InstanceManager.kt index aba84e3..385b95a 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/manager/InstanceManager.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/manager/InstanceManager.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.manager import android.content.Context diff --git a/app/src/main/java/fr/mobdev/peertubelive/manager/OAuthManager.kt b/app/src/main/java/fr/mobdev/peertubelive/manager/OAuthManager.kt index ee43d4c..c1dc352 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/manager/OAuthManager.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/manager/OAuthManager.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.manager import android.content.Context diff --git a/app/src/main/java/fr/mobdev/peertubelive/objects/ChannelData.kt b/app/src/main/java/fr/mobdev/peertubelive/objects/ChannelData.kt index 3156151..2c0b7ba 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/objects/ChannelData.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/objects/ChannelData.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.objects import android.os.Parcel diff --git a/app/src/main/java/fr/mobdev/peertubelive/objects/ConfigData.kt b/app/src/main/java/fr/mobdev/peertubelive/objects/ConfigData.kt index 7efa3f3..624803c 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/objects/ConfigData.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/objects/ConfigData.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.objects; import android.os.Parcel diff --git a/app/src/main/java/fr/mobdev/peertubelive/objects/OAuthData.kt b/app/src/main/java/fr/mobdev/peertubelive/objects/OAuthData.kt index 7413a6d..e8b8cb9 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/objects/OAuthData.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/objects/OAuthData.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.objects import android.os.Parcel diff --git a/app/src/main/java/fr/mobdev/peertubelive/objects/StreamData.kt b/app/src/main/java/fr/mobdev/peertubelive/objects/StreamData.kt index 94f6397..e0e2ccd 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/objects/StreamData.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/objects/StreamData.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.objects import android.os.Parcel diff --git a/app/src/main/java/fr/mobdev/peertubelive/objects/StreamSettings.kt b/app/src/main/java/fr/mobdev/peertubelive/objects/StreamSettings.kt index 5be7a92..eb48da4 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/objects/StreamSettings.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/objects/StreamSettings.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.objects import android.os.Parcel diff --git a/app/src/main/java/fr/mobdev/peertubelive/utils/TranslationUtils.kt b/app/src/main/java/fr/mobdev/peertubelive/utils/TranslationUtils.kt index cd494dc..eb483d5 100644 --- a/app/src/main/java/fr/mobdev/peertubelive/utils/TranslationUtils.kt +++ b/app/src/main/java/fr/mobdev/peertubelive/utils/TranslationUtils.kt @@ -1,3 +1,16 @@ +/** + * Copyright (C) 2021 Anthony Chomienne + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU Affero General Public License as published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. + * If not, see + */ + package fr.mobdev.peertubelive.utils import fr.mobdev.peertubelive.R