gecko-dev/cmd/macfe/restext/MozillaEvents.r
1998-06-23 01:36:59 +00:00

158 lines
5.9 KiB
R

/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*----------------------------------------------------------------------------
The Apple Events Template resource 'aedt' (found in Types.r)
is used to associate an Event Class and Event ID with a
unique integer value. These integer values are private to the
application processing the events.
restriction: PowerPlant uses integer valuse below 4000
All data for aetds is now centrally located in resae.h
----------------------------------------------------------------------------*/
#include "types.r"
// #include "AEUserTermTypes.r"
#include "resae.h" // Provides AE Types, IDs, and AE_RefNums
/*--------------------------------------------------------------------------*/
/* ----- World Wide Web - Spyglass Suite ----- */
/*--------------------------------------------------------------------------*/
resource 'aedt' (kSpyGlass_aedtResID, "World-Wide-Web Suite (Spyglass spec)") {
{
AE_spy_receive_suite, AE_spy_openURL, AE_OpenURL, // WWW! OURL
AE_spy_receive_suite, AE_spy_registerViewer, AE_RegisterViewer, // WWW! RGVW
AE_spy_receive_suite, AE_spy_unregisterViewer, AE_UnregisterViewer, // WWW! UNRV
AE_spy_receive_suite, AE_spy_showFile, AE_ShowFile, // WWW! SHWF
AE_spy_receive_suite, AE_spy_parse, AE_ParseAnchor, // WWW! PRSA
AE_spy_receive_suite, AE_spy_registerURLecho, AE_RegisterURLEcho, // WWW! RGUE
AE_spy_receive_suite, AE_spy_unregisterURLecho, AE_UnregisterURLEcho, // WWW! UNRU
AE_spy_receive_suite, AE_spy_activate, AE_SpyActivate, // WWW! ACTV
AE_spy_receive_suite, AE_spy_listwindows, AE_SpyListWindows, // WWW! LSTW
AE_spy_receive_suite, AE_spy_getwindowinfo, AE_GetWindowInfo, // WWW! WNFO
AE_spy_receive_suite, AE_spy_registerWinClose, AE_RegisterWinClose, // WWW! RGWC
AE_spy_receive_suite, AE_spy_unregisterWinClose, AE_UnregisterWinClose, // WWW! UNRC
AE_spy_receive_suite, AE_spy_register_protocol, AE_RegisterProtocol, // WWW! RGPR
AE_spy_receive_suite, AE_spy_unregister_protocol, AE_UnregisterProtocol, // WWW! UNRP
AE_spy_receive_suite, AE_spy_CancelProgress, AE_CancelProgress, // WWW! CNCL
AE_spy_receive_suite, AE_spy_findURL, AE_FindURL // WWW! FURL
}
};
/*--------------------------------------------------------------------------*/
/* ----- Mozilla and Macintosh Std URL Suites ----- */
/*--------------------------------------------------------------------------*/
resource 'aedt' (kURLSuite_aedtResID, "Mozilla & URL suite") {
{
AE_www_suite, AE_www_workingURL, AE_GetWD, // MOSS wurl
AE_www_suite, AE_www_openBookmark, AE_OpenBookmark, // MOSS book
AE_www_suite, AE_www_ReadHelpFile, AE_ReadHelpFile, // MOSS help
AE_www_suite, AE_www_go, AE_Go, // MOSS gogo
AE_url_suite, AE_url_getURL, AE_GetURL, // GURL GURL
AE_www_suite, AE_www_ProfileManager, AE_OpenProfileManager, // MOSS prfl
AE_www_suite, AE_www_openAddressBook, AE_OpenAddressBook, // MOSS addr
AE_www_suite, AE_www_openComponent, AE_OpenComponent, // MOSS cpnt
AE_www_suite, AE_www_getActiveProfile, AE_GetActiveProfile, // MOSS upro
AE_www_suite, AE_www_handleCommand, AE_HandleCommand, // MOSS hcmd
AE_www_suite, AE_www_getImportData, AE_GetProfileImportData // MOSS Impt
}
};
/*--------------------------------------------------------------------------*/
/* Required Suite, we will leave this hard wired for now */
/*--------------------------------------------------------------------------*/
resource 'aedt' (kRequired_aedtResID, "Required Suite") {
{
'aevt', 'oapp', 1001,
'aevt', 'odoc', 1002,
'aevt', 'pdoc', 1003,
'aevt', 'quit', 1004
}
};
/*--------------------------------------------------------------------------*/
/* Core Suite, we will leave this hard wired for now */
/*--------------------------------------------------------------------------*/
resource 'aedt' (kCore_aedtResID, "Core Suite") {
{
'core', 'clon', 2001,
'core', 'clos', 2002,
'core', 'cnte', 2003,
'core', 'crel', 2004,
'core', 'delo', 2005,
'core', 'doex', 2006,
'core', 'qobj', 2007,
'core', 'getd', 2008,
'core', 'dsiz', 2009,
'core', 'gtei', 2010,
'core', 'move', 2011,
'core', 'save', 2012,
'core', 'setd', 2013
}
};
/*--------------------------------------------------------------------------*/
/* Misc Standards, we will leave this hard wired for now */
/*--------------------------------------------------------------------------*/
resource 'aedt' (kMisc_aedtResID, "Misc Standards") {
{
'aevt', 'obit', 3001,
'misc', 'begi', 3002,
'misc', 'copy', 3003,
'misc', 'cpub', 3004,
'misc', 'cut ', 3005,
'misc', 'dosc', 3006,
'misc', 'edit', 3007,
'misc', 'endt', 3008,
'misc', 'imgr', 3009,
'misc', 'isun', 3010,
'misc', 'mvis', 3011,
'misc', 'past', 3012,
'misc', 'redo', 3013,
'misc', 'rvrt', 3014,
'misc', 'ttrm', 3015,
'misc', 'undo', 3016
}
};
/*--------------------------------------------------------------------------*/
/* PowerPlant Suite, we will leave this hard wired for now */
/*--------------------------------------------------------------------------*/
resource 'aedt' (kPowerPlant_aedtResID, "PowerPlant") {
{
'misc', 'slct', 3017,
'ppnt', 'sttg', 3018,
'aevt', 'rec1', 1098,
'aevt', 'rec0', 1099
}
};