1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/mozapps/plugins/service/PluginInfo.java Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,94 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +package org.mozilla.pfs; 1.10 + 1.11 +public class PluginInfo { 1.12 + private java.lang.String name; 1.13 + private int pid; 1.14 + private java.lang.String version; 1.15 + private java.lang.String iconUrl; 1.16 + private java.lang.String XPILocation; 1.17 + private boolean installerShowsUI; 1.18 + private java.lang.String manualInstallationURL; 1.19 + private java.lang.String requestedMimetype; 1.20 + private java.lang.String licenseURL; 1.21 + 1.22 + public PluginInfo() { 1.23 + } 1.24 + 1.25 + public java.lang.String getName() { 1.26 + return name; 1.27 + } 1.28 + 1.29 + public void setName(java.lang.String name) { 1.30 + this.name = name; 1.31 + } 1.32 + 1.33 + public int getPid() { 1.34 + return pid; 1.35 + } 1.36 + 1.37 + public void setPid(int pid) { 1.38 + this.pid = pid; 1.39 + } 1.40 + 1.41 + public java.lang.String getVersion() { 1.42 + return version; 1.43 + } 1.44 + 1.45 + public void setVersion(java.lang.String version) { 1.46 + this.version = version; 1.47 + } 1.48 + 1.49 + public java.lang.String getIconUrl() { 1.50 + return iconUrl; 1.51 + } 1.52 + 1.53 + public void setIconUrl(java.lang.String iconUrl) { 1.54 + this.iconUrl = iconUrl; 1.55 + } 1.56 + 1.57 + public java.lang.String getXPILocation() { 1.58 + return XPILocation; 1.59 + } 1.60 + 1.61 + public void setXPILocation(java.lang.String XPILocation) { 1.62 + this.XPILocation = XPILocation; 1.63 + } 1.64 + 1.65 + public boolean isInstallerShowsUI() { 1.66 + return installerShowsUI; 1.67 + } 1.68 + 1.69 + public void setInstallerShowsUI(boolean installerShowsUI) { 1.70 + this.installerShowsUI = installerShowsUI; 1.71 + } 1.72 + 1.73 + public java.lang.String getManualInstallationURL() { 1.74 + return manualInstallationURL; 1.75 + } 1.76 + 1.77 + public void setManualInstallationURL(java.lang.String manualInstallationURL) { 1.78 + this.manualInstallationURL = manualInstallationURL; 1.79 + } 1.80 + 1.81 + public java.lang.String getRequestedMimetype() { 1.82 + return requestedMimetype; 1.83 + } 1.84 + 1.85 + public void setRequestedMimetype(java.lang.String requestedMimetype) { 1.86 + this.requestedMimetype = requestedMimetype; 1.87 + } 1.88 + 1.89 + public java.lang.String getLicenseURL() { 1.90 + return licenseURL; 1.91 + } 1.92 + 1.93 + public void setLicenseURL(java.lang.String licenseURL) { 1.94 + this.licenseURL = licenseURL; 1.95 + } 1.96 +} 1.97 +