зеркало из https://github.com/mozilla/pjs.git
199 строки
7.3 KiB
C
199 строки
7.3 KiB
C
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
*
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
* the License. You may obtain a copy of the License at
|
|
* http://www.mozilla.org/MPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
* for the specific language governing rights and limitations under the
|
|
* License.
|
|
*
|
|
* The Original Code is mozilla.org code.
|
|
*
|
|
* The Initial Developer of the Original Code is
|
|
* Netscape Communications Corporation.
|
|
* Portions created by the Initial Developer are Copyright (C) 1998
|
|
* the Initial Developer. All Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
* Dan Rosen <dr@netscape.com>
|
|
*
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
* use your version of this file under the terms of the MPL, indicate your
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
* the provisions above, a recipient may use your version of this file under
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
|
*
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
/* 2d96b3d0-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_WINDOW_CID \
|
|
{ 0x2d96b3d0, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9}}
|
|
|
|
/* 2d96b3d1-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_CHILD_CID \
|
|
{ 0x2d96b3d1, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
|
|
/* BA7DE611-6088-11d3-A83E-00105A183419 */
|
|
#define NS_POPUP_CID \
|
|
{ 0xba7de611, 0x6088, 0x11d3, \
|
|
{ 0xa8, 0x3e, 0x0, 0x10, 0x5a, 0x18, 0x34, 0x19 } }
|
|
|
|
/* bd57cee8-1dd1-11b2-9fe7-95cf4709aea3 */
|
|
#define NS_FILEPICKER_CID \
|
|
{ 0xbd57cee8, 0x1dd1, 0x11b2, \
|
|
{0x9f, 0xe7, 0x95, 0xcf, 0x47, 0x09, 0xae, 0xa3} }
|
|
|
|
/* 2d96b3df-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_APPSHELL_CID \
|
|
{ 0x2d96b3df, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* 2d96b3e0-c051-11d1-a827-0040959a28c9 */
|
|
#define NS_TOOLKIT_CID \
|
|
{ 0x2d96b3e0, 0xc051, 0x11d1, \
|
|
{0xa8, 0x27, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9} }
|
|
|
|
/* XXX the following CID's are not in order. This needs
|
|
to be fixed. */
|
|
|
|
//-----------------------------------------------------------
|
|
// Menus
|
|
//-----------------------------------------------------------
|
|
|
|
// {0B3FE5AA-BC72-4303-85AE-76365DF1251D}
|
|
#define NS_NATIVEMENUSERVICE_CID \
|
|
{ 0x0B3FE5AA, 0xBC72, 0x4303, \
|
|
{ 0x85, 0xAE, 0x76, 0x36, 0x5D, 0xF1, 0x25, 0x1D} }
|
|
|
|
// {F6CD4F21-53AF-11d2-8DC4-00609703C14E}
|
|
#define NS_POPUPMENU_CID \
|
|
{ 0xf6cd4f21, 0x53af, 0x11d2, \
|
|
{ 0x8d, 0xc4, 0x0, 0x60, 0x97, 0x3, 0xc1, 0x4e } }
|
|
|
|
// {1F39AE50-B6A0-4B37-90F4-60AF614193D8}
|
|
#define NS_STANDALONENATIVEMENU_CID \
|
|
{ 0x1F39AE50, 0xB6A0, 0x4B37, \
|
|
{ 0x90, 0xF4, 0x60, 0xAF, 0x61, 0x41, 0x93, 0xD8 }}
|
|
|
|
// {2451BAED-8DC3-46D9-9E30-96E1BAA03666}
|
|
#define NS_MACDOCKSUPPORT_CID \
|
|
{ 0x2451BAED, 0x8DC3, 0x46D9, \
|
|
{ 0x9E, 0x30, 0x96, 0xE1, 0xBA, 0xA0, 0x36, 0x66 } }
|
|
|
|
//-----------------------------------------------------------
|
|
//Drag & Drop & Clipboard
|
|
//-----------------------------------------------------------
|
|
// {8B5314BB-DB01-11d2-96CE-0060B0FB9956}
|
|
#define NS_DRAGSERVICE_CID \
|
|
{ 0x8b5314bb, 0xdb01, 0x11d2, { 0x96, 0xce, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } }
|
|
|
|
// {8B5314BC-DB01-11d2-96CE-0060B0FB9956}
|
|
#define NS_TRANSFERABLE_CID \
|
|
{ 0x8b5314bc, 0xdb01, 0x11d2, { 0x96, 0xce, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } }
|
|
|
|
// {8B5314BA-DB01-11d2-96CE-0060B0FB9956}
|
|
#define NS_CLIPBOARD_CID \
|
|
{ 0x8b5314ba, 0xdb01, 0x11d2, { 0x96, 0xce, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } }
|
|
|
|
// {77221D5A-1DD2-11B2-8C69-C710F15D2ED5}
|
|
#define NS_CLIPBOARDHELPER_CID \
|
|
{ 0x77221d5a, 0x1dd2, 0x11b2, { 0x8c, 0x69, 0xc7, 0x10, 0xf1, 0x5d, 0x2e, 0xd5 } }
|
|
|
|
// {8B5314BD-DB01-11d2-96CE-0060B0FB9956}
|
|
#define NS_DATAFLAVOR_CID \
|
|
{ 0x8b5314bd, 0xdb01, 0x11d2, { 0x96, 0xce, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } }
|
|
|
|
// {948A0023-E3A7-11d2-96CF-0060B0FB9956}
|
|
#define NS_HTMLFORMATCONVERTER_CID \
|
|
{ 0x948a0023, 0xe3a7, 0x11d2, { 0x96, 0xcf, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } }
|
|
|
|
//-----------------------------------------------------------
|
|
//Other
|
|
//-----------------------------------------------------------
|
|
// {B148EED2-236D-11d3-B35C-00A0CC3C1CDE}
|
|
#define NS_SOUND_CID \
|
|
{ 0xb148eed2, 0x236d, 0x11d3, { 0xb3, 0x5c, 0x0, 0xa0, 0xcc, 0x3c, 0x1c, 0xde } }
|
|
|
|
// {9f1800ab-f428-4207-b40c-e832e77b01fc}
|
|
#define NS_BIDIKEYBOARD_CID \
|
|
{ 0x9f1800ab, 0xf428, 0x4207, { 0xb4, 0x0c, 0xe8, 0x32, 0xe7, 0x7b, 0x01, 0xfc } }
|
|
|
|
#define NS_SCREENMANAGER_CID \
|
|
{ 0xc401eb80, 0xf9ea, 0x11d3, { 0xbb, 0x6f, 0xe7, 0x32, 0xb7, 0x3e, 0xbe, 0x7c } }
|
|
|
|
// {6987230e-0089-4e78-bc5f-1493ee7519fa}
|
|
#define NS_IDLE_SERVICE_CID \
|
|
{ 0x6987230e, 0x0098, 0x4e78, { 0xbc, 0x5f, 0x14, 0x93, 0xee, 0x75, 0x19, 0xfa } }
|
|
|
|
#define NS_WIN_TASKBAR_CID \
|
|
{ 0xb8e5bc54, 0xa22f, 0x4eb2, {0xb0, 0x61, 0x24, 0xcb, 0x6d, 0x19, 0xc1, 0x5f } }
|
|
|
|
// {73A5946F-608D-454f-9D33-0B8F8C7294B6}
|
|
#define NS_WIN_JUMPLISTBUILDER_CID \
|
|
{ 0x73a5946f, 0x608d, 0x454f, { 0x9d, 0x33, 0xb, 0x8f, 0x8c, 0x72, 0x94, 0xb6 } }
|
|
|
|
// {2B9A1F2C-27CE-45b6-8D4E-755D0E34F8DB}
|
|
#define NS_WIN_JUMPLISTITEM_CID \
|
|
{ 0x2b9a1f2c, 0x27ce, 0x45b6, { 0x8d, 0x4e, 0x75, 0x5d, 0x0e, 0x34, 0xf8, 0xdb } }
|
|
|
|
// {21F1F13B-F75A-42ad-867A-D91AD694447E}
|
|
#define NS_WIN_JUMPLISTSEPARATOR_CID \
|
|
{ 0x21f1f13b, 0xf75a, 0x42ad, { 0x86, 0x7a, 0xd9, 0x1a, 0xd6, 0x94, 0x44, 0x7e } }
|
|
|
|
// {F72C5DC4-5A12-47be-BE28-AB105F33B08F}
|
|
#define NS_WIN_JUMPLISTLINK_CID \
|
|
{ 0xf72c5dc4, 0x5a12, 0x47be, { 0xbe, 0x28, 0xab, 0x10, 0x5f, 0x33, 0xb0, 0x8f } }
|
|
|
|
// {B16656B2-5187-498f-ABF4-56346126BFDB}
|
|
#define NS_WIN_JUMPLISTSHORTCUT_CID \
|
|
{ 0xb16656b2, 0x5187, 0x498f, { 0xab, 0xf4, 0x56, 0x34, 0x61, 0x26, 0xbf, 0xdb } }
|
|
|
|
//-----------------------------------------------------------
|
|
//Printing
|
|
//-----------------------------------------------------------
|
|
#define NS_DEVICE_CONTEXT_SPEC_CID \
|
|
{ 0xd3f69889, 0xe13a, 0x4321, \
|
|
{ 0x98, 0x0c, 0xa3, 0x93, 0x32, 0xe2, 0x1f, 0x34 } }
|
|
|
|
#define NS_PRINTSETTINGSSERVICE_CID \
|
|
{ 0x841387c8, 0x72e6, 0x484b, \
|
|
{ 0x92, 0x96, 0xbf, 0x6e, 0xea, 0x80, 0xd5, 0x8a } }
|
|
|
|
// NOTE: This now has the same CID as NS_PRINTSETTINGSSERVICE_CID
|
|
// will go away when Bug 144114 is fixed
|
|
#define NS_PRINTOPTIONS_CID NS_PRINTSETTINGSSERVICE_CID
|
|
|
|
#define NS_PRINTER_ENUMERATOR_CID \
|
|
{ 0xa6cf9129, 0x15b3, 0x11d2, \
|
|
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32} }
|
|
|
|
#define NS_PRINTSESSION_CID \
|
|
{ 0x2f977d53, 0x5485, 0x11d4, \
|
|
{ 0x87, 0xe2, 0x00, 0x10, 0xa4, 0xe7, 0x5e, 0xf2 } }
|
|
|
|
#define NS_PRINTDIALOGSERVICE_CID \
|
|
{ 0x06beec76, 0xa183, 0x4d9f, \
|
|
{ 0x85, 0xdd, 0x08, 0x5f, 0x26, 0xda, 0x56, 0x5a } }
|
|
|
|
#define NS_GFXINFO_CID \
|
|
{ 0xd755a760, 0x9f27, 0x11df, \
|
|
{ 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66, 0x42, 0x42 } }
|
|
|
|
#define NS_IMEPICKER_CID \
|
|
{ 0x8e5c35ef, 0xb65b, 0x47aa, \
|
|
{ 0xbb, 0x90, 0x5b, 0x89, 0x6d, 0x88, 0x24, 0x18 } }
|