tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

XPCModule.h (789B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
      3 /* This Source Code Form is subject to the terms of the Mozilla Public
      4 * License, v. 2.0. If a copy of the MPL was not distributed with this
      5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 #include "xpcprivate.h"
      8 #include "mozJSSubScriptLoader.h"
      9 
     10 /* Module implementation for the xpconnect library. */
     11 
     12 #define XPCVARIANT_CONTRACTID "@mozilla.org/xpcvariant;1"
     13 
     14 // {FE4F7592-C1FC-4662-AC83-538841318803}
     15 #define SCRIPTABLE_INTERFACES_CID \
     16  {0xfe4f7592, 0xc1fc, 0x4662, {0xac, 0x83, 0x53, 0x88, 0x41, 0x31, 0x88, 0x3}}
     17 
     18 #define MOZJSSUBSCRIPTLOADER_CONTRACTID "@mozilla.org/moz/jssubscript-loader;1"
     19 
     20 nsresult xpcModuleCtor();
     21 void xpcModuleDtor();