Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/android-library.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/main/java/com/nextcloud/android/lib/resources/dashboard/DashboardButton.kt')
-rw-r--r--library/src/main/java/com/nextcloud/android/lib/resources/dashboard/DashboardButton.kt33
1 files changed, 33 insertions, 0 deletions
diff --git a/library/src/main/java/com/nextcloud/android/lib/resources/dashboard/DashboardButton.kt b/library/src/main/java/com/nextcloud/android/lib/resources/dashboard/DashboardButton.kt
new file mode 100644
index 00000000..ac31f696
--- /dev/null
+++ b/library/src/main/java/com/nextcloud/android/lib/resources/dashboard/DashboardButton.kt
@@ -0,0 +1,33 @@
+/*
+ *
+ * Nextcloud Android client application
+ *
+ * @author Tobias Kaminsky
+ * Copyright (C) 2022 Tobias Kaminsky
+ * Copyright (C) 2022 Nextcloud GmbH
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, 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 Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+package com.nextcloud.android.lib.resources.dashboard
+
+import android.os.Parcelable
+import kotlinx.parcelize.Parcelize
+
+@Parcelize
+data class DashboardButton(
+ val type: DashBoardButtonType,
+ val text: String,
+ val link: String
+) : Parcelable