home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / AIMP2 / aimp_2.61.583.exe / $TEMP / YandexPackSetup.msi / filC3258A837F2520EFD28EDC00CC8A6805 < prev    next >
Text File  |  2010-07-12  |  1KB  |  42 lines

  1. // Components.*
  2. const
  3.     Cc = Components.classes,
  4.     Ci = Components.interfaces,
  5.     Cr = Components.results,
  6.     Cu = Components.utils;
  7.  
  8. // Gerenal
  9. const APP_NAME = "yasearch";
  10. const PLATFORM_VERSION = 1;
  11. const EXTENSION_ID = "yasearch@yandex.ru";
  12.  
  13. // Core
  14. const CORE_CONTRACT_ID = "@yandex.ru/custombarcore;" + APP_NAME;
  15. const CORE_CLASS_ID_STR = "{F25B83DE-5817-11DE-8EB3-C9A656D89593}";
  16. const CORE_CLASS_ID = Components.ID(CORE_CLASS_ID_STR);
  17.  
  18. // Application protocol
  19. const PROTOCOL_APP_SCHEME = APP_NAME;
  20. const PROTOCOL_APP_CONTRACT_ID = "@mozilla.org/network/protocol;1?name=" + PROTOCOL_APP_SCHEME;
  21. const PROTOCOL_APP_CLASS_ID_STR = "{1A2ADED0-64D1-11DE-8047-DBAA3A7E4459}";
  22. const PROTOCOL_APP_CLASS_ID = Components.ID(PROTOCOL_APP_CLASS_ID_STR);
  23.  
  24. // XB protocol
  25. const PROTOCOL_XB_SCHEME = "xb";
  26. const PROTOCOL_XB_CONTRACT_ID = "@mozilla.org/network/protocol;1?name=" + PROTOCOL_XB_SCHEME;
  27. const PROTOCOL_XB_CLASS_ID_STR = "{6BA7D0A8-A115-11DE-8D96-029555D89593}";
  28. const PROTOCOL_XB_CLASS_ID = Components.ID(PROTOCOL_XB_CLASS_ID_STR);
  29.  
  30. // Common
  31. const CommonConsts = {
  32.     APP_ACTION_QUIT_TOPIC: "quit-application",
  33.     PROFILE_AFTER_CHANGE: "profile-after-change",
  34.     PROFILE_BEFORE_CHANGE: "profile-before-change"
  35. };
  36.  
  37. // Other
  38.  
  39.  
  40. // Modules
  41. Cu.import("resource://gre/modules/XPCOMUtils.jsm");
  42.