diff --git a/add_license.sh b/add_license.sh new file mode 100755 index 00000000..1e98ae1b --- /dev/null +++ b/add_license.sh @@ -0,0 +1,11 @@ +LICENSE_TEXT="/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */" + +for file in $(find . -name "*.kt"); do + echo -e "$LICENSE_TEXT\n$(cat $file)" > $file +done diff --git a/app/src/androidTest/kotlin/be/scri/fragments/MainFragmentTest.kt b/app/src/androidTest/kotlin/be/scri/fragments/MainFragmentTest.kt index 6651825b..2bf5cf07 100644 --- a/app/src/androidTest/kotlin/be/scri/fragments/MainFragmentTest.kt +++ b/app/src/androidTest/kotlin/be/scri/fragments/MainFragmentTest.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import android.content.Context import android.content.SharedPreferences import androidx.appcompat.app.AppCompatDelegate diff --git a/app/src/main/java/be/scri/App.kt b/app/src/main/java/be/scri/App.kt index 02298789..56819807 100644 --- a/app/src/main/java/be/scri/App.kt +++ b/app/src/main/java/be/scri/App.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri import android.app.Application diff --git a/app/src/main/java/be/scri/activities/MainActivity.kt b/app/src/main/java/be/scri/activities/MainActivity.kt index 2644a193..a3e9ab83 100644 --- a/app/src/main/java/be/scri/activities/MainActivity.kt +++ b/app/src/main/java/be/scri/activities/MainActivity.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.activities import android.content.Context diff --git a/app/src/main/java/be/scri/adapters/ViewPagerAdapter.kt b/app/src/main/java/be/scri/adapters/ViewPagerAdapter.kt index 58c0fd10..ea1c5d4b 100644 --- a/app/src/main/java/be/scri/adapters/ViewPagerAdapter.kt +++ b/app/src/main/java/be/scri/adapters/ViewPagerAdapter.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.adapters import androidx.fragment.app.Fragment diff --git a/app/src/main/java/be/scri/extensions/CommonsContext.kt b/app/src/main/java/be/scri/extensions/CommonsContext.kt index ddb663d9..80615ec3 100644 --- a/app/src/main/java/be/scri/extensions/CommonsContext.kt +++ b/app/src/main/java/be/scri/extensions/CommonsContext.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.extensions import android.content.Context diff --git a/app/src/main/java/be/scri/extensions/Context.kt b/app/src/main/java/be/scri/extensions/Context.kt index 47925449..6853b35e 100644 --- a/app/src/main/java/be/scri/extensions/Context.kt +++ b/app/src/main/java/be/scri/extensions/Context.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.extensions import android.content.Context diff --git a/app/src/main/java/be/scri/extensions/ContextStyling.kt b/app/src/main/java/be/scri/extensions/ContextStyling.kt index 95923bbd..95c01e50 100644 --- a/app/src/main/java/be/scri/extensions/ContextStyling.kt +++ b/app/src/main/java/be/scri/extensions/ContextStyling.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.extensions import android.content.Context diff --git a/app/src/main/java/be/scri/extensions/Drawable.kt b/app/src/main/java/be/scri/extensions/Drawable.kt index 9a9786af..e40b4d68 100644 --- a/app/src/main/java/be/scri/extensions/Drawable.kt +++ b/app/src/main/java/be/scri/extensions/Drawable.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.extensions import android.graphics.PorterDuff diff --git a/app/src/main/java/be/scri/extensions/Int.kt b/app/src/main/java/be/scri/extensions/Int.kt index 28271643..5404f520 100644 --- a/app/src/main/java/be/scri/extensions/Int.kt +++ b/app/src/main/java/be/scri/extensions/Int.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.extensions import android.graphics.Color diff --git a/app/src/main/java/be/scri/extensions/RecyclerView.kt b/app/src/main/java/be/scri/extensions/RecyclerView.kt index 7b1f8387..5e4e7b8f 100644 --- a/app/src/main/java/be/scri/extensions/RecyclerView.kt +++ b/app/src/main/java/be/scri/extensions/RecyclerView.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.extensions import CustomDividerItemDecoration diff --git a/app/src/main/java/be/scri/extensions/View.kt b/app/src/main/java/be/scri/extensions/View.kt index 7c45ea8c..366d43b5 100644 --- a/app/src/main/java/be/scri/extensions/View.kt +++ b/app/src/main/java/be/scri/extensions/View.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.extensions import android.view.HapticFeedbackConstants diff --git a/app/src/main/java/be/scri/fragments/AboutFragment.kt b/app/src/main/java/be/scri/fragments/AboutFragment.kt index 4427a6db..76f659bc 100644 --- a/app/src/main/java/be/scri/fragments/AboutFragment.kt +++ b/app/src/main/java/be/scri/fragments/AboutFragment.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.fragments import android.os.Bundle diff --git a/app/src/main/java/be/scri/fragments/LanguageSettingsFragment.kt b/app/src/main/java/be/scri/fragments/LanguageSettingsFragment.kt index da23ed68..ac51001d 100644 --- a/app/src/main/java/be/scri/fragments/LanguageSettingsFragment.kt +++ b/app/src/main/java/be/scri/fragments/LanguageSettingsFragment.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.fragments import android.os.Bundle diff --git a/app/src/main/java/be/scri/fragments/MainFragment.kt b/app/src/main/java/be/scri/fragments/MainFragment.kt index 2dd0f787..3f084413 100644 --- a/app/src/main/java/be/scri/fragments/MainFragment.kt +++ b/app/src/main/java/be/scri/fragments/MainFragment.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.fragments import android.content.Context diff --git a/app/src/main/java/be/scri/fragments/PrivacyPolicyFragment.kt b/app/src/main/java/be/scri/fragments/PrivacyPolicyFragment.kt index 3dcff4ee..a1a7147e 100644 --- a/app/src/main/java/be/scri/fragments/PrivacyPolicyFragment.kt +++ b/app/src/main/java/be/scri/fragments/PrivacyPolicyFragment.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.fragments import android.os.Bundle diff --git a/app/src/main/java/be/scri/fragments/ScribeFragment.kt b/app/src/main/java/be/scri/fragments/ScribeFragment.kt index b3be37aa..727dd824 100644 --- a/app/src/main/java/be/scri/fragments/ScribeFragment.kt +++ b/app/src/main/java/be/scri/fragments/ScribeFragment.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.fragments import android.util.Log diff --git a/app/src/main/java/be/scri/fragments/SettingsFragment.kt b/app/src/main/java/be/scri/fragments/SettingsFragment.kt index fe82a603..788ebfbc 100644 --- a/app/src/main/java/be/scri/fragments/SettingsFragment.kt +++ b/app/src/main/java/be/scri/fragments/SettingsFragment.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.fragments import SettingsScreen diff --git a/app/src/main/java/be/scri/fragments/ThirdPartyFragment.kt b/app/src/main/java/be/scri/fragments/ThirdPartyFragment.kt index 82989d05..a1621393 100644 --- a/app/src/main/java/be/scri/fragments/ThirdPartyFragment.kt +++ b/app/src/main/java/be/scri/fragments/ThirdPartyFragment.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.fragments import android.os.Bundle diff --git a/app/src/main/java/be/scri/fragments/WikimediaScribeFragment.kt b/app/src/main/java/be/scri/fragments/WikimediaScribeFragment.kt index c875bcf8..7b7c4655 100644 --- a/app/src/main/java/be/scri/fragments/WikimediaScribeFragment.kt +++ b/app/src/main/java/be/scri/fragments/WikimediaScribeFragment.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.fragments import android.os.Bundle diff --git a/app/src/main/java/be/scri/helpers/AlphanumericComparator.kt b/app/src/main/java/be/scri/helpers/AlphanumericComparator.kt index 3aa1ba2d..d6c16b00 100644 --- a/app/src/main/java/be/scri/helpers/AlphanumericComparator.kt +++ b/app/src/main/java/be/scri/helpers/AlphanumericComparator.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers // Taken from https://gist.github.com/MichaelRocks/1b94bb44c7804e999dbf31dac86955ec. diff --git a/app/src/main/java/be/scri/helpers/BaseConfig.kt b/app/src/main/java/be/scri/helpers/BaseConfig.kt index 185edeaa..5c434bc0 100644 --- a/app/src/main/java/be/scri/helpers/BaseConfig.kt +++ b/app/src/main/java/be/scri/helpers/BaseConfig.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers import android.content.Context diff --git a/app/src/main/java/be/scri/helpers/CommonsConstants.kt b/app/src/main/java/be/scri/helpers/CommonsConstants.kt index 967ae19b..40376f99 100644 --- a/app/src/main/java/be/scri/helpers/CommonsConstants.kt +++ b/app/src/main/java/be/scri/helpers/CommonsConstants.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers val DARK_GREY = 0xFF333333.toInt() diff --git a/app/src/main/java/be/scri/helpers/Config.kt b/app/src/main/java/be/scri/helpers/Config.kt index 56aed664..1d1251cb 100644 --- a/app/src/main/java/be/scri/helpers/Config.kt +++ b/app/src/main/java/be/scri/helpers/Config.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers import android.content.Context diff --git a/app/src/main/java/be/scri/helpers/Constants.kt b/app/src/main/java/be/scri/helpers/Constants.kt index 2d298006..d4a103a7 100644 --- a/app/src/main/java/be/scri/helpers/Constants.kt +++ b/app/src/main/java/be/scri/helpers/Constants.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers const val SHIFT_OFF = 0 diff --git a/app/src/main/java/be/scri/helpers/CustomAdapter.kt b/app/src/main/java/be/scri/helpers/CustomAdapter.kt index ed38c879..eec8fa40 100644 --- a/app/src/main/java/be/scri/helpers/CustomAdapter.kt +++ b/app/src/main/java/be/scri/helpers/CustomAdapter.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers import android.content.Context diff --git a/app/src/main/java/be/scri/helpers/DatabaseHelper.kt b/app/src/main/java/be/scri/helpers/DatabaseHelper.kt index 70252e2c..6a88d426 100644 --- a/app/src/main/java/be/scri/helpers/DatabaseHelper.kt +++ b/app/src/main/java/be/scri/helpers/DatabaseHelper.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers import android.content.Context diff --git a/app/src/main/java/be/scri/helpers/HintUtils.kt b/app/src/main/java/be/scri/helpers/HintUtils.kt index 80cfdcde..b712126d 100644 --- a/app/src/main/java/be/scri/helpers/HintUtils.kt +++ b/app/src/main/java/be/scri/helpers/HintUtils.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers import android.content.Context diff --git a/app/src/main/java/be/scri/helpers/MyKeyboard.kt b/app/src/main/java/be/scri/helpers/MyKeyboard.kt index 2bc70e28..a999f74f 100644 --- a/app/src/main/java/be/scri/helpers/MyKeyboard.kt +++ b/app/src/main/java/be/scri/helpers/MyKeyboard.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers import android.annotation.SuppressLint diff --git a/app/src/main/java/be/scri/helpers/PreferencesHelper.kt b/app/src/main/java/be/scri/helpers/PreferencesHelper.kt index 8729510d..9b85cfbf 100644 --- a/app/src/main/java/be/scri/helpers/PreferencesHelper.kt +++ b/app/src/main/java/be/scri/helpers/PreferencesHelper.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers import android.app.UiModeManager diff --git a/app/src/main/java/be/scri/helpers/RatingHelper.kt b/app/src/main/java/be/scri/helpers/RatingHelper.kt index b52c51b8..9b4aacc7 100644 --- a/app/src/main/java/be/scri/helpers/RatingHelper.kt +++ b/app/src/main/java/be/scri/helpers/RatingHelper.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers import android.content.Context diff --git a/app/src/main/java/be/scri/helpers/ShareHelper.kt b/app/src/main/java/be/scri/helpers/ShareHelper.kt index e965b6ad..9edbf468 100644 --- a/app/src/main/java/be/scri/helpers/ShareHelper.kt +++ b/app/src/main/java/be/scri/helpers/ShareHelper.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers import android.content.ActivityNotFoundException diff --git a/app/src/main/java/be/scri/helpers/english/ENInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/english/ENInterfaceVariables.kt index c0d75fc7..403715b2 100644 --- a/app/src/main/java/be/scri/helpers/english/ENInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/english/ENInterfaceVariables.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers.english object ENInterfaceVariables { diff --git a/app/src/main/java/be/scri/helpers/french/FRInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/french/FRInterfaceVariables.kt index bdf47676..0d610d11 100644 --- a/app/src/main/java/be/scri/helpers/french/FRInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/french/FRInterfaceVariables.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers.french object FRInterfaceVariables { diff --git a/app/src/main/java/be/scri/helpers/german/DEInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/german/DEInterfaceVariables.kt index 0c24272d..4f5b2078 100644 --- a/app/src/main/java/be/scri/helpers/german/DEInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/german/DEInterfaceVariables.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers.german object DEInterfaceVariables { diff --git a/app/src/main/java/be/scri/helpers/italian/ITInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/italian/ITInterfaceVariables.kt index 41fe9edc..5e876fba 100644 --- a/app/src/main/java/be/scri/helpers/italian/ITInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/italian/ITInterfaceVariables.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers.italian object ITInterfaceVariables { diff --git a/app/src/main/java/be/scri/helpers/portugese/PTInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/portugese/PTInterfaceVariables.kt index c9b071ff..a2ba2a07 100644 --- a/app/src/main/java/be/scri/helpers/portugese/PTInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/portugese/PTInterfaceVariables.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers.portugese object PTInterfaceVariables { diff --git a/app/src/main/java/be/scri/helpers/russian/RUInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/russian/RUInterfaceVariables.kt index f59fe27f..e5fa33d9 100644 --- a/app/src/main/java/be/scri/helpers/russian/RUInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/russian/RUInterfaceVariables.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers.russian object RUInterfaceVariables { diff --git a/app/src/main/java/be/scri/helpers/spanish/ESInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/spanish/ESInterfaceVariables.kt index 0407554f..d7fab0cd 100644 --- a/app/src/main/java/be/scri/helpers/spanish/ESInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/spanish/ESInterfaceVariables.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers.spanish object ESInterfaceVariables { diff --git a/app/src/main/java/be/scri/helpers/swedish/SVInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/swedish/SVInterfaceVariables.kt index 3e43af90..9d829dbb 100644 --- a/app/src/main/java/be/scri/helpers/swedish/SVInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/swedish/SVInterfaceVariables.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.helpers.swedish object SVInterfaceVariables { diff --git a/app/src/main/java/be/scri/models/ItemsViewModel.kt b/app/src/main/java/be/scri/models/ItemsViewModel.kt index d17eaa6d..d7bd77da 100644 --- a/app/src/main/java/be/scri/models/ItemsViewModel.kt +++ b/app/src/main/java/be/scri/models/ItemsViewModel.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.models import android.app.Activity diff --git a/app/src/main/java/be/scri/models/SwitchItem.kt b/app/src/main/java/be/scri/models/SwitchItem.kt index fc225739..603cd56f 100644 --- a/app/src/main/java/be/scri/models/SwitchItem.kt +++ b/app/src/main/java/be/scri/models/SwitchItem.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.models sealed class Item diff --git a/app/src/main/java/be/scri/models/TextItem.kt b/app/src/main/java/be/scri/models/TextItem.kt index c105ffff..7462aa4a 100644 --- a/app/src/main/java/be/scri/models/TextItem.kt +++ b/app/src/main/java/be/scri/models/TextItem.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.models import androidx.fragment.app.Fragment diff --git a/app/src/main/java/be/scri/services/EnglishKeyboardIME.kt b/app/src/main/java/be/scri/services/EnglishKeyboardIME.kt index 282fe0a0..22fa3ff3 100644 --- a/app/src/main/java/be/scri/services/EnglishKeyboardIME.kt +++ b/app/src/main/java/be/scri/services/EnglishKeyboardIME.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.services import android.text.InputType diff --git a/app/src/main/java/be/scri/services/FrenchKeyboardIME.kt b/app/src/main/java/be/scri/services/FrenchKeyboardIME.kt index 88e294e0..ca80b69e 100644 --- a/app/src/main/java/be/scri/services/FrenchKeyboardIME.kt +++ b/app/src/main/java/be/scri/services/FrenchKeyboardIME.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.services import android.text.InputType diff --git a/app/src/main/java/be/scri/services/GermanKeyboardIME.kt b/app/src/main/java/be/scri/services/GermanKeyboardIME.kt index dd5f9662..3a10628f 100644 --- a/app/src/main/java/be/scri/services/GermanKeyboardIME.kt +++ b/app/src/main/java/be/scri/services/GermanKeyboardIME.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.services import android.text.InputType diff --git a/app/src/main/java/be/scri/services/ItalianKeyboardIME.kt b/app/src/main/java/be/scri/services/ItalianKeyboardIME.kt index 91e32681..4134878e 100644 --- a/app/src/main/java/be/scri/services/ItalianKeyboardIME.kt +++ b/app/src/main/java/be/scri/services/ItalianKeyboardIME.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.services import android.text.InputType diff --git a/app/src/main/java/be/scri/services/PortugueseKeyboardIME.kt b/app/src/main/java/be/scri/services/PortugueseKeyboardIME.kt index e2e78373..bb9a707c 100644 --- a/app/src/main/java/be/scri/services/PortugueseKeyboardIME.kt +++ b/app/src/main/java/be/scri/services/PortugueseKeyboardIME.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.services import android.text.InputType diff --git a/app/src/main/java/be/scri/services/RussianKeyboardIME.kt b/app/src/main/java/be/scri/services/RussianKeyboardIME.kt index 3884b32d..f14c522f 100644 --- a/app/src/main/java/be/scri/services/RussianKeyboardIME.kt +++ b/app/src/main/java/be/scri/services/RussianKeyboardIME.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.services import android.text.InputType diff --git a/app/src/main/java/be/scri/services/SimpleKeyboardIME.kt b/app/src/main/java/be/scri/services/SimpleKeyboardIME.kt index c4dfbe1d..4cbac0ae 100644 --- a/app/src/main/java/be/scri/services/SimpleKeyboardIME.kt +++ b/app/src/main/java/be/scri/services/SimpleKeyboardIME.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.services import android.content.Context @@ -363,7 +395,7 @@ abstract class SimpleKeyboardIME( fun getLastWordBeforeCursor(): String? { val textBeforeCursor = getText() ?: return null val trimmedText = textBeforeCursor.trim() - val lastWord = trimmedText.split("\\s+".toRegex()).lastOrNull() + val lastWord = trimmedText.split("\s+".toRegex()).lastOrNull() return lastWord } @@ -684,7 +716,7 @@ abstract class SimpleKeyboardIME( } val lastTwoChars = word.substring(word.length - 2) - val emojiRegex = Regex("[\\uD83C\\uDF00-\\uD83E\\uDDFF]|[\\u2600-\\u26FF]|[\\u2700-\\u27BF]") + val emojiRegex = Regex("[🌀-🧿]|[☀-⛿]|[✀-➿]") return emojiRegex.containsMatchIn(lastTwoChars) } diff --git a/app/src/main/java/be/scri/services/SpanishKeyboardIME.kt b/app/src/main/java/be/scri/services/SpanishKeyboardIME.kt index bdb7f8a9..337a8008 100644 --- a/app/src/main/java/be/scri/services/SpanishKeyboardIME.kt +++ b/app/src/main/java/be/scri/services/SpanishKeyboardIME.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.services import android.text.InputType diff --git a/app/src/main/java/be/scri/services/SwedishKeyboardIME.kt b/app/src/main/java/be/scri/services/SwedishKeyboardIME.kt index d594a5e8..753a3702 100644 --- a/app/src/main/java/be/scri/services/SwedishKeyboardIME.kt +++ b/app/src/main/java/be/scri/services/SwedishKeyboardIME.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.services import android.text.InputType diff --git a/app/src/main/java/be/scri/ui/common/components/AboutPageItemComp.kt b/app/src/main/java/be/scri/ui/common/components/AboutPageItemComp.kt index 7fbad0fe..153a793b 100644 --- a/app/src/main/java/be/scri/ui/common/components/AboutPageItemComp.kt +++ b/app/src/main/java/be/scri/ui/common/components/AboutPageItemComp.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.common.components import androidx.compose.foundation.clickable diff --git a/app/src/main/java/be/scri/ui/common/components/ClickableItemComp.kt b/app/src/main/java/be/scri/ui/common/components/ClickableItemComp.kt index 4ed30a66..956a0f6d 100644 --- a/app/src/main/java/be/scri/ui/common/components/ClickableItemComp.kt +++ b/app/src/main/java/be/scri/ui/common/components/ClickableItemComp.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.common.components import androidx.compose.foundation.clickable diff --git a/app/src/main/java/be/scri/ui/common/components/ComposeScaffoldContainer.kt b/app/src/main/java/be/scri/ui/common/components/ComposeScaffoldContainer.kt index e6be6e6c..eb8b4d92 100644 --- a/app/src/main/java/be/scri/ui/common/components/ComposeScaffoldContainer.kt +++ b/app/src/main/java/be/scri/ui/common/components/ComposeScaffoldContainer.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.common.components import android.annotation.SuppressLint diff --git a/app/src/main/java/be/scri/ui/common/components/ItemCardContainer.kt b/app/src/main/java/be/scri/ui/common/components/ItemCardContainer.kt index 20cea17c..11d03d10 100644 --- a/app/src/main/java/be/scri/ui/common/components/ItemCardContainer.kt +++ b/app/src/main/java/be/scri/ui/common/components/ItemCardContainer.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.common.components import androidx.compose.foundation.layout.Column diff --git a/app/src/main/java/be/scri/ui/common/components/ItemCardContainerWithTitle.kt b/app/src/main/java/be/scri/ui/common/components/ItemCardContainerWithTitle.kt index 96a9bdf5..3895492b 100644 --- a/app/src/main/java/be/scri/ui/common/components/ItemCardContainerWithTitle.kt +++ b/app/src/main/java/be/scri/ui/common/components/ItemCardContainerWithTitle.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.common.components import androidx.compose.foundation.layout.Column diff --git a/app/src/main/java/be/scri/ui/common/components/SwitchableItemComp.kt b/app/src/main/java/be/scri/ui/common/components/SwitchableItemComp.kt index a34321f5..097daf23 100644 --- a/app/src/main/java/be/scri/ui/common/components/SwitchableItemComp.kt +++ b/app/src/main/java/be/scri/ui/common/components/SwitchableItemComp.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.common.components import androidx.compose.foundation.background diff --git a/app/src/main/java/be/scri/ui/models/ScribeItem.kt b/app/src/main/java/be/scri/ui/models/ScribeItem.kt index cd2e91e9..102e7934 100644 --- a/app/src/main/java/be/scri/ui/models/ScribeItem.kt +++ b/app/src/main/java/be/scri/ui/models/ScribeItem.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.models import androidx.annotation.DrawableRes diff --git a/app/src/main/java/be/scri/ui/models/ScribeItemList.kt b/app/src/main/java/be/scri/ui/models/ScribeItemList.kt index 506d1b34..1f90f83d 100644 --- a/app/src/main/java/be/scri/ui/models/ScribeItemList.kt +++ b/app/src/main/java/be/scri/ui/models/ScribeItemList.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.models import androidx.compose.runtime.Immutable diff --git a/app/src/main/java/be/scri/ui/screens/AboutScreen.kt b/app/src/main/java/be/scri/ui/screens/AboutScreen.kt index 695db230..524e9ec2 100644 --- a/app/src/main/java/be/scri/ui/screens/AboutScreen.kt +++ b/app/src/main/java/be/scri/ui/screens/AboutScreen.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.screens import android.annotation.SuppressLint diff --git a/app/src/main/java/be/scri/ui/screens/InstallationScreen.kt b/app/src/main/java/be/scri/ui/screens/InstallationScreen.kt index e54df9db..ccde0023 100644 --- a/app/src/main/java/be/scri/ui/screens/InstallationScreen.kt +++ b/app/src/main/java/be/scri/ui/screens/InstallationScreen.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.screens import android.content.Intent diff --git a/app/src/main/java/be/scri/ui/screens/LanguageSettingsScreen.kt b/app/src/main/java/be/scri/ui/screens/LanguageSettingsScreen.kt index 3bcc6185..a6fdf128 100644 --- a/app/src/main/java/be/scri/ui/screens/LanguageSettingsScreen.kt +++ b/app/src/main/java/be/scri/ui/screens/LanguageSettingsScreen.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.screens import android.annotation.SuppressLint diff --git a/app/src/main/java/be/scri/ui/screens/PrivacyPolicyScreen.kt b/app/src/main/java/be/scri/ui/screens/PrivacyPolicyScreen.kt index d599d6a0..eac0c4ae 100644 --- a/app/src/main/java/be/scri/ui/screens/PrivacyPolicyScreen.kt +++ b/app/src/main/java/be/scri/ui/screens/PrivacyPolicyScreen.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.screens import androidx.compose.foundation.layout.padding diff --git a/app/src/main/java/be/scri/ui/screens/SettingsScreen.kt b/app/src/main/java/be/scri/ui/screens/SettingsScreen.kt index f0f45a8d..5de929bc 100644 --- a/app/src/main/java/be/scri/ui/screens/SettingsScreen.kt +++ b/app/src/main/java/be/scri/ui/screens/SettingsScreen.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import android.content.Context import android.os.Bundle import android.view.inputmethod.InputMethodManager diff --git a/app/src/main/java/be/scri/ui/screens/ThirdPartyScreen.kt b/app/src/main/java/be/scri/ui/screens/ThirdPartyScreen.kt index c9189337..22cd9627 100644 --- a/app/src/main/java/be/scri/ui/screens/ThirdPartyScreen.kt +++ b/app/src/main/java/be/scri/ui/screens/ThirdPartyScreen.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.screens import androidx.compose.foundation.layout.Column diff --git a/app/src/main/java/be/scri/ui/screens/WikimediaScreen.kt b/app/src/main/java/be/scri/ui/screens/WikimediaScreen.kt index a5087173..6f664ddc 100644 --- a/app/src/main/java/be/scri/ui/screens/WikimediaScreen.kt +++ b/app/src/main/java/be/scri/ui/screens/WikimediaScreen.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.screens import androidx.compose.foundation.Image diff --git a/app/src/main/java/be/scri/ui/theme/Colors.kt b/app/src/main/java/be/scri/ui/theme/Colors.kt index 7c967795..4de4501b 100644 --- a/app/src/main/java/be/scri/ui/theme/Colors.kt +++ b/app/src/main/java/be/scri/ui/theme/Colors.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.theme import androidx.compose.ui.graphics.Color diff --git a/app/src/main/java/be/scri/ui/theme/ScribeTheme.kt b/app/src/main/java/be/scri/ui/theme/ScribeTheme.kt index 56656cba..f9be8f75 100644 --- a/app/src/main/java/be/scri/ui/theme/ScribeTheme.kt +++ b/app/src/main/java/be/scri/ui/theme/ScribeTheme.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.theme import androidx.compose.material3.MaterialTheme diff --git a/app/src/main/java/be/scri/ui/theme/Typography.kt b/app/src/main/java/be/scri/ui/theme/Typography.kt index 5b879e24..e22c3ebe 100644 --- a/app/src/main/java/be/scri/ui/theme/Typography.kt +++ b/app/src/main/java/be/scri/ui/theme/Typography.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.ui.theme import androidx.compose.material3.Typography diff --git a/app/src/main/java/be/scri/views/CustomDividerItemDecoration.kt b/app/src/main/java/be/scri/views/CustomDividerItemDecoration.kt index ca789127..247e6a8e 100644 --- a/app/src/main/java/be/scri/views/CustomDividerItemDecoration.kt +++ b/app/src/main/java/be/scri/views/CustomDividerItemDecoration.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import android.graphics.Canvas import android.graphics.Rect import android.graphics.drawable.Drawable diff --git a/app/src/main/java/be/scri/views/MyKeyboardView.kt b/app/src/main/java/be/scri/views/MyKeyboardView.kt index 779f3a1f..39d3557c 100644 --- a/app/src/main/java/be/scri/views/MyKeyboardView.kt +++ b/app/src/main/java/be/scri/views/MyKeyboardView.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package be.scri.views import android.annotation.SuppressLint diff --git a/app/src/test/kotlin/fragments/MainFragmentTest.kt b/app/src/test/kotlin/fragments/MainFragmentTest.kt index cd9499b4..4c882cdd 100644 --- a/app/src/test/kotlin/fragments/MainFragmentTest.kt +++ b/app/src/test/kotlin/fragments/MainFragmentTest.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import android.app.UiModeManager import android.content.Context import android.content.SharedPreferences diff --git a/app/src/test/kotlin/helpers/AlphanumericComparatorTest.kt b/app/src/test/kotlin/helpers/AlphanumericComparatorTest.kt index 964f3c00..45a05160 100644 --- a/app/src/test/kotlin/helpers/AlphanumericComparatorTest.kt +++ b/app/src/test/kotlin/helpers/AlphanumericComparatorTest.kt @@ -1,3 +1,35 @@ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/* + * Copyright (C) 2024 Scribe-Android + * + * This file is part of Scribe-Android and is licensed under the + * GNU General Public License, version 3. + * See LICENSE for more information. + */ +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2024 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ package helpers import be.scri.helpers.AlphanumericComparator