X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fstoutner%2Fprivacybrowser%2Fdataclasses%2FHistoryDataClass.kt;fp=app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fstoutner%2Fprivacybrowser%2Fdataclasses%2FHistoryDataClass.kt;h=c678202162ecc78feed7592b8ee6b326ae4cfa3b;hb=c2b5bdf009503f6761dc830fb65502ad2910c284;hp=0000000000000000000000000000000000000000;hpb=58dbf864ccd5dd341517e1ff0adaf681476d4a4f;p=PrivacyBrowserAndroid.git diff --git a/app/src/main/java/com/stoutner/privacybrowser/dataclasses/HistoryDataClass.kt b/app/src/main/java/com/stoutner/privacybrowser/dataclasses/HistoryDataClass.kt new file mode 100644 index 00000000..c6782021 --- /dev/null +++ b/app/src/main/java/com/stoutner/privacybrowser/dataclasses/HistoryDataClass.kt @@ -0,0 +1,25 @@ +/* + * Copyright 2016-2017,2021-2022 Soren Stoutner . + * + * This file is part of Privacy Browser Android . + * + * Privacy Browser Android 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. + * + * Privacy Browser Android 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 Privacy Browser Android. If not, see . + */ + +package com.stoutner.privacybrowser.dataclasses + +import android.graphics.Bitmap + +// Define the history data class. The `@JvmField` notation can be remove once all the code has migrated to Kotlin. +data class HistoryDataClass(@JvmField val favoriteIcon: Bitmap, @JvmField val url: String)