sbPropertiesModule.cpp
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 
25 #include "nsIGenericFactory.h"
26 
27 #include "sbBooleanPropertyInfo.h"
28 #include "sbDatetimePropertyInfo.h"
29 #include "sbDurationPropertyInfo.h"
31 #include "sbImagePropertyBuilder.h"
34 #include "sbNumberPropertyInfo.h"
35 #include "sbPropertyArray.h"
36 #include "sbPropertyFactory.h"
37 #include "sbPropertyManager.h"
43 #include "sbTextPropertyInfo.h"
44 #include "sbURIPropertyInfo.h"
45 
46 #include "sbPropertiesCID.h"
47 
51 
68 
69 static const nsModuleComponentInfo components[] =
70 {
71  {
75  sbPropertyArrayConstructor
76  },
77  {
81  sbPropertyFactoryConstructor
82  },
83  {
87  sbPropertyManagerConstructor
88  },
89  {
93  sbPropertyOperatorConstructor
94  },
95  {
99  sbDatetimePropertyInfoConstructor
100  },
101  {
105  sbDurationPropertyInfoConstructor
106  },
107  {
111  sbNumberPropertyInfoConstructor
112  },
113  {
117  sbTextPropertyInfoConstructor
118  },
119  {
123  sbURIPropertyInfoConstructor
124  },
125  {
129  sbBooleanPropertyInfoConstructor
130  },
131  {
135  sbDownloadButtonPropertyBuilderConstructor
136  },
137  {
141  sbStatusPropertyBuilderConstructor
142  },
143  {
147  sbSimpleButtonPropertyBuilderConstructor
148  },
149  {
153  sbImageLabelLinkPropertyInfoConstructor
154  },
155  {
159  sbImagePropertyBuilderConstructor
160  },
161  {
165  sbImageLabelLinkPropertyBuilderConstructor
166  },
167  {
171  sbRatingPropertyBuilderConstructor
172  },
173  {
177  sbOriginPageImagePropertyBuilderConstructor
178  },
179  {
183  sbStoragePropertyUnitConverterConstructor
184  }
185 };
186 
187 NS_IMPL_NSGETMODULE(SongbirdPropertiesModule, components)
#define SB_BOOLEANPROPERTYINFO_CID
#define SB_STORAGEPROPERTYUNITCONVERTER_DESCRIPTION
#define SB_SIMPLEBUTTONPROPERTYBUILDER_CID
#define SB_STATUSPROPERTYBUILDER_CID
#define SB_NUMBERPROPERTYINFO_CID
NS_GENERIC_FACTORY_CONSTRUCTOR(sbPropertyFactory)
#define SB_TEXTPROPERTYINFO_CONTRACTID
#define SB_NUMBERPROPERTYINFO_DESCRIPTION
#define SB_SBIMAGELABELLINKPROPERTYBUILDER_CID
#define SB_DOWNLOADBUTTONPROPERTYBUILDER_CONTRACTID
#define SB_URIPROPERTYINFO_CONTRACTID
#define SB_PROPERTYMANAGER_DESCRIPTION
#define SB_DOWNLOADBUTTONPROPERTYBUILDER_CID
#define SB_STORAGEPROPERTYUNITCONVERTER_CONTRACTID
#define SB_DATETIMEPROPERTYINFO_DESCRIPTION
#define SB_SBIMAGELABELLINKPROPERTYBUILDER_CONTRACTID
#define SB_SBIMAGELABELLINKPROPERTYINFO_CID
#define SB_SBIMAGELABELLINKPROPERTYINFO_CONTRACTID
#define SB_MUTABLEPROPERTYARRAY_CID
#define SB_NUMBERPROPERTYINFO_CONTRACTID
#define SB_IMAGEPROPERTYBUILDER_CONTRACTID
#define SB_TEXTPROPERTYINFO_CID
#define SB_IMAGEPROPERTYBUILDER_DESCRIPTION
#define SB_MUTABLEPROPERTYARRAY_CONTRACTID
#define SB_SIMPLEBUTTONPROPERTYBUILDER_CONTRACTID
#define SB_DURATIONPROPERTYINFO_CONTRACTID
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(sbPropertyManager, Init)
#define SB_TEXTPROPERTYINFO_DESCRIPTION
#define SB_PROPERTYMANAGER_CONTRACTID
#define SB_SBIMAGELABELLINKPROPERTYBUILDER_DESCRIPTION
#define SB_SBIMAGELABELLINKPROPERTYINFO_DESCRIPTION
#define SB_DURATIONPROPERTYINFO_CID
#define SB_PROPERTYFACTORY_CONTRACTID
#define SB_ORIGINPAGEIMAGEPROPERTYBUILDER_CID
#define SB_ORIGINPAGEIMAGEPROPERTYBUILDER_CONTRACTID
static const nsModuleComponentInfo components[]
#define SB_ORIGINPAGEIMAGEPROPERTYBUILDER_DESCRIPTION
#define SB_SIMPLEBUTTONPROPERTYBUILDER_DESCRIPTION
#define SB_IMAGEPROPERTYBUILDER_CID
#define SB_DATETIMEPROPERTYINFO_CID
function Init()
#define SB_RATINGPROPERTYBUILDER_CID
#define SB_DATETIMEPROPERTYINFO_CONTRACTID
#define SB_RATINGPROPERTYBUILDER_CONTRACTID
#define SB_PROPERTYOPERATOR_CID
#define SB_PROPERTYMANAGER_CID
#define SB_URIPROPERTYINFO_DESCRIPTION
#define SB_STATUSPROPERTYBUILDER_CONTRACTID
#define SB_STORAGEPROPERTYUNITCONVERTER_CID
#define SB_BOOLEANPROPERTYINFO_CONTRACTID
#define SB_DURATIONPROPERTYINFO_DESCRIPTION
NS_IMPL_NSGETMODULE(SongbirdIdentityServiceComponent, sbIdentityServiceComponent)
#define SB_RATINGPROPERTYBUILDER_DESCRIPTION
#define SB_URIPROPERTYINFO_CID
#define SB_PROPERTYOPERATOR_DESCRIPTION
#define SB_DOWNLOADBUTTONPROPERTYBUILDER_DESCRIPTION
#define SB_MUTABLEPROPERTYARRAY_DESCRIPTION
#define SB_BOOLEANPROPERTYINFO_DESCRIPTION
#define SB_PROPERTYFACTORY_CID
#define SB_PROPERTYOPERATOR_CONTRACTID
#define SB_PROPERTYFACTORY_DESCRIPTION
#define SB_STATUSPROPERTYBUILDER_DESCRIPTION