sbAppleRemoteModule.mm
Go to the documentation of this file.
1 /*
2 //
3 // BEGIN NIGHTINGALE GPL
4 //
5 // This file is part of the Nightingale Media Player.
6 //
7 // Copyright(c) 2014
8 // http://getnightingale.com
9 //
10 // This file may be licensed under the terms of of the
11 // GNU General Public License Version 2 (the "GPL").
12 //
13 // Software distributed under the License is distributed
14 // on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
15 // express or implied. See the GPL for the specific language
16 // governing rights and limitations.
17 //
18 // You should have received a copy of the GPL along with this
19 // program. If not, go to http://www.gnu.org/licenses/gpl.html
20 // or write to the Free Software Foundation, Inc.,
21 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 //
23 // END NIGHTINGALE GPL
24 //
25 */
26 
27 #include "nsIGenericFactory.h"
28 #include "sbAppleRemoteService.h"
29 
30 
31 //
32 // Componet Defines
33 //
34 /* AFCF7797-8923-4033-A431-359A7C7334F4 */
35 #define SB_MACREMOTECONTROLSERVICE_CID \
36 { 0xAFCF7797, 0x8923, 0x4033, \
37 { 0xA4, 0x31, 0x35, 0x9A, 0x7C, 0x73, 0x34, 0xF4 } }
38 
39 #define SB_MACREMOTECONTROLSERVICE_CONTRACTID \
40 "@songbirdnest.com/mac-remote-service;1"
41 
42 
43 NS_GENERIC_FACTORY_CONSTRUCTOR(sbAppleRemoteService)
44 
45 static const nsModuleComponentInfo components[] =
46 {
47  {
48  "Songbird Mac Remote Control Service",
51  sbAppleRemoteServiceConstructor
52  }
53 };
54 
55 NS_IMPL_NSGETMODULE(sbMacRemoteControllerModule, components)
static const nsModuleComponentInfo components[]
#define SB_MACREMOTECONTROLSERVICE_CID
NS_IMPL_NSGETMODULE(SongbirdIdentityServiceComponent, sbIdentityServiceComponent)
#define SB_MACREMOTECONTROLSERVICE_CONTRACTID
NS_GENERIC_FACTORY_CONSTRUCTOR(sbMediaSniffer)