From 27cb040357199122fa3bfd2c8973aada00e65454 Mon Sep 17 00:00:00 2001 From: Vincent Te Date: Thu, 22 Jan 2026 13:23:15 +0100 Subject: [PATCH] chore: Add enum classes for Matomo --- .../kotlin/matomo/MatomoCategory.kt | 27 +++++++++++++++++++ .../commonMain/kotlin/matomo/MatomoName.kt | 27 +++++++++++++++++++ .../commonMain/kotlin/matomo/MatomoScreen.kt | 21 +++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 multiplatform-lib/src/commonMain/kotlin/matomo/MatomoCategory.kt create mode 100644 multiplatform-lib/src/commonMain/kotlin/matomo/MatomoName.kt create mode 100644 multiplatform-lib/src/commonMain/kotlin/matomo/MatomoScreen.kt diff --git a/multiplatform-lib/src/commonMain/kotlin/matomo/MatomoCategory.kt b/multiplatform-lib/src/commonMain/kotlin/matomo/MatomoCategory.kt new file mode 100644 index 0000000..909e153 --- /dev/null +++ b/multiplatform-lib/src/commonMain/kotlin/matomo/MatomoCategory.kt @@ -0,0 +1,27 @@ +/* + * Infomaniak Authenticator - Android + * Copyright (C) 2026 Infomaniak Network SA + * + * 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 matomo + +enum class MatomoCategory(val value: String) { + + //region Common + //endregion + + //region iOS + //endregion +} diff --git a/multiplatform-lib/src/commonMain/kotlin/matomo/MatomoName.kt b/multiplatform-lib/src/commonMain/kotlin/matomo/MatomoName.kt new file mode 100644 index 0000000..7705500 --- /dev/null +++ b/multiplatform-lib/src/commonMain/kotlin/matomo/MatomoName.kt @@ -0,0 +1,27 @@ +/* + * Infomaniak Authenticator - Android + * Copyright (C) 2026 Infomaniak Network SA + * + * 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 matomo + +enum class MatomoName(val value: String) { + + //region Common + //endregion + + //region iOS + //endregion +} diff --git a/multiplatform-lib/src/commonMain/kotlin/matomo/MatomoScreen.kt b/multiplatform-lib/src/commonMain/kotlin/matomo/MatomoScreen.kt new file mode 100644 index 0000000..ef6945f --- /dev/null +++ b/multiplatform-lib/src/commonMain/kotlin/matomo/MatomoScreen.kt @@ -0,0 +1,21 @@ +/* + * Infomaniak Authenticator - Android + * Copyright (C) 2026 Infomaniak Network SA + * + * 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 matomo + +enum class MatomoScreen(val value: String) { +}