home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / macfe / restext / MozillaEvents.r < prev    next >
Encoding:
Text File  |  1998-04-08  |  6.0 KB  |  157 lines

  1.  /*
  2.  * The contents of this file are subject to the Netscape Public License
  3.  * Version 1.0 (the "NPL"); you may not use this file except in
  4.  * compliance with the NPL.  You may obtain a copy of the NPL at
  5.  * http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  8.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  9.  * for the specific language governing rights and limitations under the
  10.  * NPL.
  11.  *
  12.  * The Initial Developer of this code under the NPL is Netscape
  13.  * Communications Corporation.  Portions created by Netscape are
  14.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  15.  * Reserved.
  16.  */
  17.  
  18. /*----------------------------------------------------------------------------
  19.     The Apple Events Template resource 'aedt' (found in Types.r)    
  20.     is used to associate an Event Class and Event ID with a
  21.     unique integer value.  These integer values are private to the
  22.     application processing the events.
  23.     
  24.     restriction:  PowerPlant uses integer valuse below 4000    
  25.     All data for aetds is now centrally located in resae.h                                
  26. ----------------------------------------------------------------------------*/
  27.  
  28.  
  29. #include    "types.r"
  30. // #include    "AEUserTermTypes.r"
  31. #include    "resae.h"            // Provides AE Types, IDs, and AE_RefNums
  32.  
  33. /*--------------------------------------------------------------------------*/
  34. /*            -----  World Wide Web - Spyglass Suite   -----                    */
  35. /*--------------------------------------------------------------------------*/    
  36.  
  37. resource 'aedt' (kSpyGlass_aedtResID, "World-Wide-Web Suite (Spyglass spec)") {
  38.     {
  39.         AE_spy_receive_suite, AE_spy_openURL,                 AE_OpenURL,                    // WWW! OURL
  40.         AE_spy_receive_suite, AE_spy_registerViewer,         AE_RegisterViewer,            // WWW! RGVW
  41.         AE_spy_receive_suite, AE_spy_unregisterViewer,         AE_UnregisterViewer,        // WWW! UNRV
  42.         AE_spy_receive_suite, AE_spy_showFile,                 AE_ShowFile,                // WWW! SHWF
  43.         AE_spy_receive_suite, AE_spy_parse,                 AE_ParseAnchor,                // WWW! PRSA
  44.         AE_spy_receive_suite, AE_spy_registerURLecho,         AE_RegisterURLEcho,            // WWW! RGUE
  45.         AE_spy_receive_suite, AE_spy_unregisterURLecho,        AE_UnregisterURLEcho,        // WWW! UNRU
  46.         AE_spy_receive_suite, AE_spy_activate,                 AE_SpyActivate,                // WWW! ACTV
  47.         AE_spy_receive_suite, AE_spy_listwindows,             AE_SpyListWindows,            // WWW! LSTW
  48.         AE_spy_receive_suite, AE_spy_getwindowinfo,         AE_GetWindowInfo,            // WWW! WNFO
  49.         AE_spy_receive_suite, AE_spy_registerWinClose,        AE_RegisterWinClose,        // WWW! RGWC
  50.         AE_spy_receive_suite, AE_spy_unregisterWinClose,     AE_UnregisterWinClose,        // WWW! UNRC
  51.         AE_spy_receive_suite, AE_spy_register_protocol,     AE_RegisterProtocol,        // WWW! RGPR
  52.         AE_spy_receive_suite, AE_spy_unregister_protocol,     AE_UnregisterProtocol,        // WWW! UNRP
  53.         AE_spy_receive_suite, AE_spy_CancelProgress,         AE_CancelProgress,            // WWW! CNCL
  54.         AE_spy_receive_suite, AE_spy_findURL,                 AE_FindURL                    // WWW! FURL
  55.     }
  56. };
  57.  
  58. /*--------------------------------------------------------------------------*/
  59. /*            -----  Mozilla and Macintosh Std URL Suites   -----            */
  60. /*--------------------------------------------------------------------------*/    
  61.  
  62. resource 'aedt' (kURLSuite_aedtResID, "Mozilla & URL suite") {
  63.     {
  64.         AE_www_suite, AE_www_workingURL,         AE_GetWD,                                // MOSS wurl
  65.         AE_www_suite, AE_www_openBookmark,        AE_OpenBookmark,                        // MOSS book
  66.         AE_www_suite, AE_www_ReadHelpFile,         AE_ReadHelpFile,                        // MOSS help
  67.         AE_www_suite, AE_www_go,                 AE_Go,                                    // MOSS gogo
  68.         AE_url_suite, AE_url_getURL,             AE_GetURL,                                // GURL GURL
  69.         AE_www_suite, AE_www_ProfileManager,    AE_OpenProfileManager,                    // MOSS prfl
  70.         AE_www_suite, AE_www_openAddressBook,    AE_OpenAddressBook,                        // MOSS addr
  71.         AE_www_suite, AE_www_openComponent,        AE_OpenComponent,                        // MOSS cpnt
  72.         AE_www_suite, AE_www_getActiveProfile,    AE_GetActiveProfile,                    // MOSS upro
  73.         AE_www_suite, AE_www_handleCommand,        AE_HandleCommand                        // MOSS hcmd
  74.     }
  75. };
  76.  
  77. /*--------------------------------------------------------------------------*/
  78. /*            Required Suite, we will leave this hard wired for now            */
  79. /*--------------------------------------------------------------------------*/    
  80.  
  81. resource 'aedt' (kRequired_aedtResID, "Required Suite") {
  82.     {
  83.         'aevt', 'oapp', 1001,
  84.         'aevt', 'odoc', 1002,
  85.         'aevt', 'pdoc', 1003,
  86.         'aevt', 'quit', 1004
  87.     }
  88. };
  89.  
  90. /*--------------------------------------------------------------------------*/
  91. /*            Core Suite, we will leave this hard wired for now                */
  92. /*--------------------------------------------------------------------------*/    
  93.  
  94. resource 'aedt' (kCore_aedtResID, "Core Suite") {
  95.     {
  96.  
  97.         'core', 'clon', 2001,
  98.         'core', 'clos', 2002,
  99.         'core', 'cnte', 2003,
  100.         'core', 'crel', 2004,
  101.         'core', 'delo', 2005,
  102.         'core', 'doex', 2006,
  103.         'core', 'qobj', 2007,
  104.         'core', 'getd', 2008,
  105.         'core', 'dsiz', 2009,
  106.         'core', 'gtei', 2010,
  107.         'core', 'move', 2011,
  108.         'core', 'save', 2012,
  109.         'core', 'setd', 2013
  110.     }
  111. };
  112.  
  113. /*--------------------------------------------------------------------------*/
  114. /*            Misc Standards, we will leave this hard wired for now            */
  115. /*--------------------------------------------------------------------------*/    
  116.  
  117. resource 'aedt' (kMisc_aedtResID, "Misc Standards") {
  118.     {
  119.         'aevt', 'obit', 3001,
  120.         'misc', 'begi', 3002,
  121.         'misc', 'copy', 3003,
  122.         'misc', 'cpub', 3004,
  123.         'misc', 'cut ', 3005,
  124.         'misc', 'dosc', 3006,
  125.         'misc', 'edit', 3007,
  126.         'misc', 'endt', 3008,
  127.         'misc', 'imgr', 3009,
  128.         'misc', 'isun', 3010,
  129.         'misc', 'mvis', 3011,
  130.         'misc', 'past', 3012,
  131.         'misc', 'redo', 3013,
  132.         'misc', 'rvrt', 3014,
  133.         'misc', 'ttrm', 3015,
  134.         'misc', 'undo', 3016
  135.     }
  136. };
  137.  
  138. /*--------------------------------------------------------------------------*/
  139. /*            PowerPlant Suite, we will leave this hard wired for now            */
  140. /*--------------------------------------------------------------------------*/    
  141.  
  142. resource 'aedt' (kPowerPlant_aedtResID, "PowerPlant") {
  143.     {
  144.         'misc', 'slct', 3017,
  145.         'ppnt', 'sttg', 3018,
  146.         'aevt', 'rec1', 1098,
  147.         'aevt', 'rec0', 1099
  148.     }
  149. };
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.