widget/xremoteclient/XRemoteClientFactory.cpp

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/widget/xremoteclient/XRemoteClientFactory.cpp	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +
     1.9 +#define NS_XREMOTECLIENT_CID                         \
    1.10 +{ 0xcfae5900,                                        \
    1.11 +  0x1dd1,                                            \
    1.12 +  0x11b2,                                            \
    1.13 +  { 0x95, 0xd0, 0xad, 0x45, 0x4c, 0x23, 0x3d, 0xc6 } \
    1.14 +}
    1.15 +
    1.16 +/* cfae5900-1dd1-11b2-95d0-ad454c233dc6 */
    1.17 +
    1.18 +#include "XRemoteClient.h"
    1.19 +
    1.20 +#include "nsXRemoteClientCID.h"
    1.21 +#include "nsIGenericFactory.h"
    1.22 +
    1.23 +NS_GENERIC_FACTORY_CONSTRUCTOR(XRemoteClient)
    1.24 +
    1.25 +static const nsModuleComponentInfo components[] =
    1.26 +{
    1.27 +  { "XRemote Client",
    1.28 +    NS_XREMOTECLIENT_CID,
    1.29 +    NS_XREMOTECLIENT_CONTRACTID,
    1.30 +    XRemoteClientConstructor }
    1.31 +};
    1.32 +
    1.33 +NS_IMPL_NSGETMODULE(XRemoteClientModule, components)
    1.34 +
    1.35 +

mercurial