sbDndSourceTracker.js File Reference

Go to the source code of this file.

Functions

function DndSourceTracker ()
 
function NSGetModule (comMgr, fileSpec)
 

Variables

const Cc = Components.classes
 
const Ci = Components.interfaces
 
const Cr = Components.results
 
const CONTRACTID = "@songbirdnest.com/Songbird/DndSourceTracker;1"
 
const CLASSNAME = "Songbird Drag and Drop Source Tracker Service"
 
const CID = Components.ID("{54b21a93-5b1b-46a2-a60f-5378ccf7f65c}")
 
const IID = Ci.sbIDndSourceTracker
 
DndSourceTracker prototype
 
var gModule
 

Detailed Description

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 sbDndSourceTracker.js.

Function Documentation

function DndSourceTracker ( )

Definition at line 40 of file sbDndSourceTracker.js.

function NSGetModule (   comMgr,
  fileSpec 
)

Definition at line 111 of file sbDndSourceTracker.js.

Variable Documentation

const Cc = Components.classes

Definition at line 31 of file sbDndSourceTracker.js.

Definition at line 32 of file sbDndSourceTracker.js.

const CID = Components.ID("{54b21a93-5b1b-46a2-a60f-5378ccf7f65c}")

Definition at line 37 of file sbDndSourceTracker.js.

const CLASSNAME = "Songbird Drag and Drop Source Tracker Service"

Definition at line 36 of file sbDndSourceTracker.js.

const CONTRACTID = "@songbirdnest.com/Songbird/DndSourceTracker;1"

Definition at line 35 of file sbDndSourceTracker.js.

const Cr = Components.results

Definition at line 33 of file sbDndSourceTracker.js.

var gModule
Initial value:
= {
registerSelf: function(componentManager, fileSpec, location, type) {
componentManager = componentManager.QueryInterface(Ci.nsIComponentRegistrar);
componentManager.registerFactoryLocation(CID, CLASSNAME, CONTRACTID,
fileSpec, location, type);
},
getClassObject: function(componentManager, cid, iid) {
if (!iid.equals(Ci.nsIFactory))
throw Cr.NS_ERROR_NOT_IMPLEMENTED;
if (cid.equals(CID)) {
return {
createInstance: function(outer, iid) {
if (outer != null)
throw Cr.NS_ERROR_NO_AGGREGATION;
return (new DndSourceTracker()).QueryInterface(iid);;
}
};
}
throw Cr.NS_ERROR_NO_INTERFACE;
},
canUnload: function(componentManager) {
return true;
}
}
const CONTRACTID
SafebrowsingApplicationMod prototype registerSelf
sidebarFactory createInstance
Definition: nsSidebar.js:351
sbOSDControlService prototype QueryInterface
const CID
SafebrowsingApplicationMod prototype getClassObject
function DndSourceTracker()
return null
Definition: FeedWriter.js:1143
const Ci
if(DEBUG_DATAREMOTES)
const CLASSNAME
const Cr

Registration for XPCOM

Definition at line 82 of file sbDndSourceTracker.js.

const IID = Ci.sbIDndSourceTracker

Definition at line 38 of file sbDndSourceTracker.js.

DndSourceTracker prototype

Definition at line 43 of file sbDndSourceTracker.js.