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 >
Wrap
Text File
|
2010-07-12
|
1KB
|
42 lines
// Components.*
const
Cc = Components.classes,
Ci = Components.interfaces,
Cr = Components.results,
Cu = Components.utils;
// Gerenal
const APP_NAME = "yasearch";
const PLATFORM_VERSION = 1;
const EXTENSION_ID = "yasearch@yandex.ru";
// Core
const CORE_CONTRACT_ID = "@yandex.ru/custombarcore;" + APP_NAME;
const CORE_CLASS_ID_STR = "{F25B83DE-5817-11DE-8EB3-C9A656D89593}";
const CORE_CLASS_ID = Components.ID(CORE_CLASS_ID_STR);
// Application protocol
const PROTOCOL_APP_SCHEME = APP_NAME;
const PROTOCOL_APP_CONTRACT_ID = "@mozilla.org/network/protocol;1?name=" + PROTOCOL_APP_SCHEME;
const PROTOCOL_APP_CLASS_ID_STR = "{1A2ADED0-64D1-11DE-8047-DBAA3A7E4459}";
const PROTOCOL_APP_CLASS_ID = Components.ID(PROTOCOL_APP_CLASS_ID_STR);
// XB protocol
const PROTOCOL_XB_SCHEME = "xb";
const PROTOCOL_XB_CONTRACT_ID = "@mozilla.org/network/protocol;1?name=" + PROTOCOL_XB_SCHEME;
const PROTOCOL_XB_CLASS_ID_STR = "{6BA7D0A8-A115-11DE-8D96-029555D89593}";
const PROTOCOL_XB_CLASS_ID = Components.ID(PROTOCOL_XB_CLASS_ID_STR);
// Common
const CommonConsts = {
APP_ACTION_QUIT_TOPIC: "quit-application",
PROFILE_AFTER_CHANGE: "profile-after-change",
PROFILE_BEFORE_CHANGE: "profile-before-change"
};
// Other
// Modules
Cu.import("resource://gre/modules/XPCOMUtils.jsm");