sbAddonMetadata.js File Reference

Provides an nsIRDFDataSource with the contents of all addon install.rdf files. More...

Go to the source code of this file.

Functions

function SONGBIRD_NS (property)
 
function EM_NS (property)
 
function ADDON_NS (id)
 
function ITEM_NS (id)
 
function AddonMetadata ()
 
function NSGetModule (comMgr, fileSpec)
 

Variables

const CONTRACTID = "@mozilla.org/rdf/datasource;1?name=addon-metadata"
 
const CLASSNAME = "Songbird Addon Metadata Datasource"
 
const CID = Components.ID("{a1edd551-0f29-4ce9-aebc-92fbee77f37e}")
 
const IID = Components.interfaces.nsIRDFDataSource
 
const FILE_INSTALL_MANIFEST = "install.rdf"
 
const FILE_EXTENSIONS = "extensions.rdf"
 
const FILE_ADDONMETADATA = "addon-metadata.rdf"
 
const PREF_LASTMODIFIED = "songbird.addonmetadata.lastModifiedTime"
 
const KEY_PROFILEDIR = "ProfD"
 
const RDFURI_INSTALL_MANIFEST_ROOT = "urn:mozilla:install-manifest"
 
const RDFURI_ADDON_ROOT
 
const PREFIX_NS_EM = "http://www.mozilla.org/2004/em-rdf#"
 
const PREFIX_NS_SONGBIRD = "http://www.songbirdnest.com/2007/addon-metadata-rdf#"
 
const PREFIX_ITEM_URI = "urn:mozilla:item:"
 
AddonMetadata prototype
 
var gModule
 

Detailed Description

Provides an nsIRDFDataSource with the contents of all addon install.rdf files.

BEGIN SONGBIRD GPL

This file is part of the Songbird web player.

Copyright(c) 2005-2008 POTI, Inc. http://songbirdnest.com

This file may be licensed under the terms of of the GNU General Public License Version 2 (the "GPL").

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the GPL for the specific language governing rights and limitations.

You should have received a copy of the GPL along with this program. If not, go to http://www.gnu.org/licenses/gpl.html or write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

END SONGBIRD GPL

Definition in file sbAddonMetadata.js.

Function Documentation

function ADDON_NS (   id)

Definition at line 62 of file sbAddonMetadata.js.

function AddonMetadata ( )

/class AddonMetadata /brief Provides an nsIRDFDataSource with the contents of all addon install.rdf files.

Definition at line 76 of file sbAddonMetadata.js.

function EM_NS (   property)

Definition at line 58 of file sbAddonMetadata.js.

function ITEM_NS (   id)

Definition at line 66 of file sbAddonMetadata.js.

function NSGetModule (   comMgr,
  fileSpec 
)

Definition at line 470 of file sbAddonMetadata.js.

function SONGBIRD_NS (   property)

Definition at line 54 of file sbAddonMetadata.js.

Variable Documentation

const CID = Components.ID("{a1edd551-0f29-4ce9-aebc-92fbee77f37e}")

Definition at line 36 of file sbAddonMetadata.js.

const CLASSNAME = "Songbird Addon Metadata Datasource"

Definition at line 35 of file sbAddonMetadata.js.

const CONTRACTID = "@mozilla.org/rdf/datasource;1?name=addon-metadata"

Definition at line 34 of file sbAddonMetadata.js.

const FILE_ADDONMETADATA = "addon-metadata.rdf"

Definition at line 41 of file sbAddonMetadata.js.

const FILE_EXTENSIONS = "extensions.rdf"

Definition at line 40 of file sbAddonMetadata.js.

const FILE_INSTALL_MANIFEST = "install.rdf"

Definition at line 39 of file sbAddonMetadata.js.

var gModule

Registration for XPCOM

Definition at line 426 of file sbAddonMetadata.js.

const IID = Components.interfaces.nsIRDFDataSource

Definition at line 37 of file sbAddonMetadata.js.

const KEY_PROFILEDIR = "ProfD"

Definition at line 45 of file sbAddonMetadata.js.

const PREF_LASTMODIFIED = "songbird.addonmetadata.lastModifiedTime"

Definition at line 43 of file sbAddonMetadata.js.

const PREFIX_ITEM_URI = "urn:mozilla:item:"

Definition at line 52 of file sbAddonMetadata.js.

const PREFIX_NS_EM = "http://www.mozilla.org/2004/em-rdf#"

Definition at line 50 of file sbAddonMetadata.js.

const PREFIX_NS_SONGBIRD = "http://www.songbirdnest.com/2007/addon-metadata-rdf#"

Definition at line 51 of file sbAddonMetadata.js.

Request prototype

Definition at line 101 of file sbAddonMetadata.js.

const RDFURI_ADDON_ROOT
Initial value:
= "urn:songbird:addon:root"
const PREFIX_ADDON_URI = "urn:songbird:addon:"

Definition at line 48 of file sbAddonMetadata.js.

const RDFURI_INSTALL_MANIFEST_ROOT = "urn:mozilla:install-manifest"

Definition at line 47 of file sbAddonMetadata.js.