sbPlayQueueContentInfo.js
Go to the documentation of this file.
1 /*
2  *=BEGIN SONGBIRD GPL
3  *
4  * This file is part of the Songbird web player.
5  *
6  * Copyright(c) 2005-2010 POTI, Inc.
7  * http://www.songbirdnest.com
8  *
9  * This file may be licensed under the terms of of the
10  * GNU General Public License Version 2 (the ``GPL'').
11  *
12  * Software distributed under the License is distributed
13  * on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
14  * express or implied. See the GPL for the specific language
15  * governing rights and limitations.
16  *
17  * You should have received a copy of the GPL along with this
18  * program. If not, go to http://www.gnu.org/licenses/gpl.html
19  * or write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  *
22  *=END SONGBIRD GPL
23  */
24 
31 const Ci = Components.interfaces;
32 const Cu = Components.utils;
33 
34 Cu.import("resource://gre/modules/XPCOMUtils.jsm");
35 Cu.import("resource://app/jsmodules/StringUtils.jsm");
36 
37 // Constants for display pane content info
39  "chrome://songbird/content/xul/playQueue.xul";
41  "chrome://songbird/skin/browser/icon-link-playable.png";
45 
46 function PlayQueueContentInfo () {
47 }
48 
49 PlayQueueContentInfo.prototype = {
50 
51  classID: Components.ID("{e0d6e860-1dd1-11b2-8663-a4d535a29859}"),
52  classDescription: "Songbird Play Queue Content Info",
53  contractID: "@songbirdnest.com/Songbird/playqueue/contentInfo;1",
55  [{
56  category: "display-pane-provider",
57  entry: "play-queue"
58  }],
59 
60  QueryInterface: XPCOMUtils.generateQI([Ci.sbIDisplayPaneContentInfo]),
61 
62  //----------------------------------------------------------------------------
63  //
64  // Implementation of sbIDisplayPaneContentInfo
65  //
66  //----------------------------------------------------------------------------
67 
68  get contentUrl() {
70  },
71 
72  get contentTitle() {
73  return SBString("playqueue.pane.title");
74  },
75 
76  get contentIcon() {
78  },
79 
80  get defaultWidth() {
82  },
83 
84  get defaultHeight() {
86  },
87 
88  get suggestedContentGroups() {
90  }
91 
92 };
93 
94 var NSGetModule = XPCOMUtils.generateNSGetModule([PlayQueueContentInfo]);
classDescription entry
Definition: FeedWriter.js:1427
var NSGetModule
sbDeviceFirmwareAutoCheckForUpdate prototype contractID
sbOSDControlService prototype QueryInterface
sbDeviceFirmwareAutoCheckForUpdate prototype classDescription
function SBString(aKey, aDefault, aStringBundle)
Definition: StringUtils.jsm:93
const SB_PLAYQUEUE_CONTENTURL
function PlayQueueContentInfo()
const SB_PLAYQUEUE_DEFAULTHEIGHT
const SB_PLAYQUEUE_CONTENTICON
const SB_PLAYQUEUE_SUGGESTEDCONTENTGROUPS
const Cu
sbDeviceFirmwareAutoCheckForUpdate prototype classID
const SB_PLAYQUEUE_DEFAULTWIDTH
sbWindowsAutoPlayServiceCfg _xpcom_categories
const Ci