Index: src/org/adblockplus/libadblockplus/AppInfo.java |
diff --git a/src/org/adblockplus/libadblockplus/AppInfo.java b/src/org/adblockplus/libadblockplus/AppInfo.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..51dc30ea4b9d072026c875cdaa3871037adbb805 |
--- /dev/null |
+++ b/src/org/adblockplus/libadblockplus/AppInfo.java |
@@ -0,0 +1,42 @@ |
+/* |
+ * This file is part of Adblock Plus <http://adblockplus.org/>, |
+ * Copyright (C) 2006-2014 Eyeo GmbH |
+ * |
+ * Adblock Plus is free software: you can redistribute it and/or modify |
+ * it under the terms of the GNU General Public License version 3 as |
+ * published by the Free Software Foundation. |
+ * |
+ * Adblock Plus 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 Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
+ */ |
+ |
+package org.adblockplus.libadblockplus; |
+ |
+public class AppInfo |
+{ |
+ public final String id; |
+ public final String version; |
+ public final String name; |
+ public final String application; |
+ public final String applicationVersion; |
+ public final String locale; |
+ public final boolean developmentBuild; |
+ |
+ // TODO: Builder or not? |
+ public AppInfo(final String id, final String version, final String name, final String application, final String applicationVersion, |
+ final String locale, final boolean developmentBuild) |
+ { |
+ this.id = id; |
+ this.version = version; |
+ this.name = name; |
+ this.application = application; |
+ this.applicationVersion = applicationVersion; |
+ this.locale = locale; |
+ this.developmentBuild = developmentBuild; |
+ } |
+} |