Back to index

lightning-sunbird  0.9+nobinonly
nsAppleEvents.h
Go to the documentation of this file.
00001 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00004  *
00005  * The contents of this file are subject to the Mozilla Public License Version
00006  * 1.1 (the "License"); you may not use this file except in compliance with
00007  * the License. You may obtain a copy of the License at
00008  * http://www.mozilla.org/MPL/
00009  *
00010  * Software distributed under the License is distributed on an "AS IS" basis,
00011  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012  * for the specific language governing rights and limitations under the
00013  * License.
00014  *
00015  * The Original Code is mozilla.org code.
00016  *
00017  * The Initial Developer of the Original Code is
00018  * Netscape Communications Corporation.
00019  * Portions created by the Initial Developer are Copyright (C) 1998
00020  * the Initial Developer. All Rights Reserved.
00021  *
00022  * Contributor(s):
00023  *
00024  * Alternatively, the contents of this file may be used under the terms of
00025  * either of the GNU General Public License Version 2 or later (the "GPL"),
00026  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00027  * in which case the provisions of the GPL or the LGPL are applicable instead
00028  * of those above. If you wish to allow use of your version of this file only
00029  * under the terms of either the GPL or the LGPL, and not to allow others to
00030  * use your version of this file under the terms of the MPL, indicate your
00031  * decision by deleting the provisions above and replace them with the notice
00032  * and other provisions required by the GPL or the LGPL. If you do not delete
00033  * the provisions above, a recipient may use your version of this file under
00034  * the terms of any one of the MPL, the GPL or the LGPL.
00035  *
00036  * ***** END LICENSE BLOCK ***** */
00037 
00038 #define MOZILLA_FIVE
00039 
00040 /*--------------------------------------------------------------------------*/
00041 /*                   ----  Resource and Command Code Base IDs  ----                               */
00042 /*            In Communicator 4.x, this was cmd/macfe/include/resae.h                      */
00043 /*            See also xpfe/bootstrap/nsAppleEvents.r for the res definitions              */
00044 /*--------------------------------------------------------------------------*/      
00045 
00046 
00047 //     ----  Base Values for Apple Event Command sets
00048 //----------------------------------------------------------------------------------------
00049 
00050 #define              kSpyGlass_CmdBase                  5000          // Base value for SpyGlass commands
00051 #define              kURLSuite_CmdBase                  5100          // Base value for URL commands
00052 
00053 //     ----  aedt Resource IDs used to associate Commands with Event Suite and ID pairs
00054 //----------------------------------------------------------------------------------------
00055 
00056 enum   {
00057        kRequired_aedtResID  = 128,               // Resource ID for Required suite's aedt resource
00058        kCore_aedtResID,                                 // Resource ID for Core suite's aedt resource
00059        kMisc_aedtResID,                                 // Resource ID for Misc suite's aedt resource
00060        kPowerPlant_aedtResID,                           // Resource ID for PowerPlant suite's aedt resource
00061        kURLSuite_aedtResID,                      // Resource ID for URL suite's aedt resource
00062        kSpyGlass_aedtResID                              // Resource ID for SpyGlass suite's aedt resource
00063 };
00064 
00065 /*--------------------------------------------------------------------------*/
00066 /*                                 ----  Event Command Codes  ----                                              */
00067 /*--------------------------------------------------------------------------*/      
00068 
00069 /*----------------------------------------------------------------------------
00070        The Apple Events Template resource 'aedt' (found in Types.r)   
00071        is used to associate an Event Class and Event ID with a
00072        unique integer value.  These integer values are private to the
00073        application processing the events.
00074        
00075        restriction:  PowerPlant uses integer valuse below 4000                                                         
00076 ----------------------------------------------------------------------------*/
00077 
00078 
00079 //     ----  World Wide Web / Spyglass Suite
00080 //----------------------------------------------------------------------------------------
00081 enum   {
00082        AE_OpenURL = kSpyGlass_CmdBase // OpenURL                                                  WWW! OURL
00083 
00084 #ifndef MOZILLA_FIVE
00085 ,      AE_RegisterViewer                         // RegisterViewer                                       WWW! RGVW
00086 ,      AE_UnregisterViewer                       // UnregisterViewer                                     WWW! UNRV
00087 ,      AE_ShowFile                                      // ShowFile                                                    WWW! SHWF
00088 ,      AE_ParseAnchor                                   // ParseAnchor                                                 WWW! PRSA
00089 ,      AE_RegisterURLEcho                        // Register URL echo                             WWW! RGUE
00090 ,      AE_UnregisterURLEcho               // Unregister URL echo                                  WWW! UNRU
00091 ,      AE_SpyActivate                                   // Activate                                                    WWW! ACTV
00092 ,      AE_SpyListWindows                         // ListWindows                                                 WWW! LSTW
00093 ,      AE_GetWindowInfo                          // GetWindowInfo                                        WWW! WNFO
00094 ,      AE_RegisterWinClose                       // RegisterWindowClose                                  WWW! RGWC
00095 ,      AE_UnregisterWinClose                     // UnregisterWindowClose                         WWW! UNRC
00096 ,      AE_RegisterProtocol                       // RegisterProtocol                                     WWW! RGPR
00097 ,      AE_UnregisterProtocol                     // UnregisterProtocol                                   WWW! UNRP
00098 ,      AE_CancelProgress                         // Cancel download                                      WWW! CNCL
00099 ,      AE_FindURL                                       // Find the URL for the file                     WWW! FURL
00100 #endif // MOZILLA_FIVE
00101 };
00102 
00103 //     ----  Netscape Experimental Suite and Macintosh URL suite
00104 //----------------------------------------------------------------------------------------
00105 enum   {
00106 
00107 #ifdef MOZILLA_FIVE
00108        AE_GetURL = kURLSuite_CmdBase      // GetURL                                                      GURL GURL
00109 ,      AE_DoJavascript                                  // Do Javascript                                        MOSS jscr
00110 #else
00111        AE_GetWD = kURLSuite_CmdBase       // Get working directory of app           MOSS WURL
00112 ,      AE_OpenBookmark                                  // Open bookmarks                                       MOSS book
00113 ,      AE_ReadHelpFile                                  // Read help file                                       MOSS help
00114 ,      AE_Go                                            // Go                                                          MOSS gogo
00115 ,      AE_OpenProfileManager                     // Launch app with user profile mgr              MOSS prfl
00116 ,      AE_GetURL                                        // GetURL                                                      GURL GURL
00117 ,      AE_OpenAddressBook                        // Open Address Book                             MOSS addr
00118 ,      AE_OpenComponent                          // Open a component                                     MOSS cpnt
00119 ,      AE_GetActiveProfile                       // Get the name of the active profile     MOSS upro
00120 ,      AE_HandleCommand                          // Handle a command ae                                  MOSS ncmd
00121 ,      AE_GetProfileImportData                   // Handle a request from import module    MOSS Impt
00122 ,      AE_OpenGuestMode                          // Open in guest (roaming) kiosk mode     MOSS gues
00123 #endif // MOZILLA_FIVE
00124 };
00125 
00126 
00127 //     ----  The so called Option Suite.  Never implemented, left here for historical purposes
00128 //----------------------------------------------------------------------------------------
00129 
00130 #define AE_GetOption               4016   // GetOption
00131 #define AE_SetOption               4017   // SetOption
00132 #define AE_ListOptions                    4018   // ListOptions
00133 
00134 //     ----  These are supposed to be "Events We Send" but I don't see these constants used
00135 //----------------------------------------------------------------------------------------
00136 
00137 #define AE_ViewDocFile                    4019   // ViewDocFile
00138 #define AE_BeginProgress           4020   // Begin progress
00139 #define AE_SetProgressRange        4021   // Set progress range
00140 #define AE_MakingProgress          4022   // Making progress
00141 #define AE_EndProgress                    4023   // End progress
00142 #define AE_QueryViewer                    4024   // Query viewer
00143 #define AE_URLEcho                        4026   // URL echo
00144 #define AE_WindowClose                    4027   // WindowClose
00145 
00146 
00147 /*----------------------------------------------------------------------------
00148        List of Suites, Event IDs, and (I guess) parameters for events.
00149        This information is public and needed by any application wanting
00150        to send Apple Events to our application.                                     
00151 ----------------------------------------------------------------------------*/
00152 
00153 /*********************************************************************************
00154  * Netscape suite
00155  * Event: Go
00156  * Arguments: keyDirectObject (objectSpecifier for a window
00157  *            direction       (stil in flux, currently back, forward, home, and again)
00158  *                                                      should really be a history object
00159  *********************************************************************************/
00160 // Event codes
00161 #define AE_www_suite                                    'MOSS'
00162 
00163 #define AE_www_doJavaScript                      'jscr'  // Execute a javascript string
00164 
00165 #ifndef MOZILLA_FIVE
00166 #define AE_www_workingURL                        'wurl' // Get working URL
00167 
00168 #define AE_www_go                                       'gogo' // keyDirectObject HWIN, direction 'dire'
00169 // direction can be kAENext, kAEPrevious, AE_www_go_again, AE_www_go_home
00170 #define AE_www_go_direction                      'dire' // directions
00171 #define AE_www_go_again                          'agai' // keyDirectObject HWIN 
00172 #define AE_www_go_home                                  'home' // keyDirectObject HWIN 
00173 #define AE_www_super_reload                      'srld' // keyDirectObject HWIN 
00174 
00175 #define AE_www_openBookmark                      'book' // Open Bookmark file
00176 #define AE_www_openAddressBook                   'addr' // Open Address Book
00177 
00178 #define AE_www_ReadHelpFile                      'help' // keyDirectObject is the file
00179 #define AE_www_ReadHelpFileID                    'idid' // Help file id. If none, use "DEFAULT"
00180 #define AE_www_ReadHelpFileSearchText     'sear' // Search text, no default
00181 
00182 #define AE_www_ProfileManager                    'prfl' //obsolete
00183 #define AE_www_GuestMode                         'gues'  // Open in guest (roaming only) mode for kiosks
00184 
00185 //Component stuff
00186 #define AE_www_openComponent                     'cpnt'
00187 
00188 #define AE_www_comp_navigator                    'navg'
00189 #define AE_www_comp_inbox                        'inbx'
00190 #define AE_www_comp_collabra                     'colb'
00191 #define AE_www_comp_composer                     'cpsr'
00192 #define AE_www_comp_conference                   'conf'
00193 #define AE_www_comp_calendar                     'cald'
00194 #define AE_www_comp_ibmHostOnDemand              'ibmh'
00195 #define AE_www_comp_netcaster                    'netc'
00196 
00197 //Handle a command
00198 #define AE_www_handleCommand                     'hcmd'
00199 
00200 //Get active profile
00201 #define AE_www_getActiveProfile                  'upro'
00202 
00203 // Handle request from an external import module for relevant data
00204 #define AE_www_getImportData                     'Impt'
00205 #endif // MOZILLA_FIVE
00206 
00207 // Objects
00208 #define AE_www_typeWindow                        'HWIN'
00209 // window properties
00210 #define AE_www_typeWindowURL                     'curl' // Property: current URL
00211 #define AE_www_typeWindowID                      'wiid' // unique ID
00212 #define AE_www_typeWindowBusy                    'busy' // Are we busy
00213 // application properties
00214 #define AE_www_typeApplicationAlert       'ALAP'
00215 #define AE_www_typeKioskMode                     'KOSK' // Kiosk mode
00216 
00217 
00218 /*********************************************************************************
00219  * URL suite
00220  * Standard Mac "GetURL suite, as defined by John Norstad and others
00221  * Look around ftp://ftp.acns.nwu.edu/pub/newswatcher/ for official spec
00222  * Event: GetURL
00223  * Arguments:        keyDirectObject (typeText, the url
00224  *                   to (destination) (typeFSS optional file to save to)
00225  *                          from (refererer) (typeText, the referer)
00226  *                          with (window) (typeObjectSpec, the window)
00227  *********************************************************************************/
00228 #define AE_url_suite                      'GURL'
00229 
00230 // Event codes
00231 #define AE_url_getURL                            'GURL' // keyDirectObject typeChar URL, 
00232 // AE_www_typeWindow window window to load the url in
00233 #define AE_url_getURLdestination   'dest' 
00234 #define AE_url_getURLrefererer            'refe'
00235 #define AE_url_getURLname                 'name' // window name
00236 
00237 
00238 
00239 
00240 
00241 
00242 
00243 
00244 
00245 /*********************************************************************************
00246  * "Spyglass" suite
00247  * http://www.spyglass.com:4040/newtechnology/integration/iapi.htm
00248  *
00249  * Accepted events:
00250  * Event:     OpenURL
00251  * Arguments: 
00252  *                   S: keyDirectObject typeChar the url
00253  *                   S: typeFSS into
00254  *                   S: typeLongInteger windowID (unique window ID for applescript)
00255  *                   typeLongInteger flags -- unused
00256  *                   S: typeWildCard post data -- you can post a form
00257  *                   S: typeChar MIME type       -- for post. Defaults to application/x-www-form-urlencoded
00258  *                   S: typePSN Progress app
00259  *     Reply: windowID
00260  *
00261  * Event:     RegisterViewer
00262  * Arguments:
00263  *                   keyDirectObject typeApplSignature
00264  *                   typeChar             MIME type
00265  *     Reply: bool success
00266  *
00267  * Event:     UnRegisterViewer
00268  *                   keyDirectObject typeApplSignature
00269  *                   typeChar             MIME type
00270  *     Reply: none
00271  *
00272  * Event: RegisterURLEcho
00273  *                   keyDirectObject typeApplSignature (optional). Otherwise, sender is used
00274  *     Reply: typeBoolean on success, errAECoercionFail if already registered
00275  *
00276  * Event: UnregisterURLEcho
00277  *                   keyDirectObject typeApplSignature (optional). Otherwise, sender is used
00278  *
00279  *  SENDING:
00280  * Event:     ViewDocFile
00281  * Arguments:
00282  *                   keyDirectObject      typeAlias file spec
00283  *                   typeChar      url
00284  *                   typeChar      mime type
00285  *                   typeLongInteger window id
00286  *     Reply: none
00287  *
00288  * Event:     BeginProgress
00289  * Arguments:
00290  *                   keyDirectObject typeLongInteger windowID
00291  *                   typeChar message
00292  *  Reply:    typeLongInteger transactionID
00293  *
00294  * Event:     SetProgressRange
00295  * Arguments:
00296  *                   keyDirectObject typeLongInteger transactionID
00297  *                   typeLongInteger      max value. -1 if the value is unknown
00298  *  Reply:    none
00299  *
00300  * Event:     MakingProgress
00301  * Arguments:
00302  *                   keyDirectObject typeLongInteger transactionID
00303  *                   typeText message
00304  *                   typeLongInteger current value of the transaction
00305  *     Reply: typeBoolean cancel
00306  *
00307  * Event:     EndProgress
00308  * Arguments:
00309  *                   keyDirectObject typeLongInteger transactionID
00310  *     Reply: none
00311  *
00312  * Event:     QueryViewer
00313  * Arguments:
00314  *                   keyDirectObject typeChar url
00315  *                   typeChar MIME type
00316  *  Reply:    typeFSS fileSpec
00317  *
00318  * Event:     ShowFile
00319  * Arguments:
00320  *                   keyDirectObject typeAlias -- the file
00321  *
00322  *********************************************************************************/
00323 #define AE_spy_receive_suite              'WWW!'
00324 #define AE_spy_send_suite                 'WWW?'
00325 
00326 // ===================== RECEIVING ==========================
00327 
00328 // ================== Miscelaneous events
00329 
00330 // ****************** OpenURL
00331 #define AE_spy_openURL             'OURL' // typeChar OpenURL
00332 
00333 #define AE_spy_openURL_flag 'FLGS' // typeLongInteger flags
00334 #define AE_spy_openURL_wind 'WIND' // typeLongInteger windowID
00335 
00336 #if 0 // Not supported in Mozilla
00337 
00338 #define AE_spy_openURL_into 'INTO' // typeFSS into
00339 #define AE_spy_openURL_post 'POST' // typeWildCard post data
00340 #define AE_spy_openURL_mime 'MIME' // typeChar MIME type
00341 #define AE_spy_openURL_prog 'PROG' // typePSN Progress app
00342 
00343 // ****************** ShowFile
00344 #define AE_spy_showFile            'SHWF' // typeAlias file spec
00345 #define AE_spy_showFile_mime 'MIME'       // typeChar MIME type
00346 #define AE_spy_showFile_win 'WIND' // WindowID
00347 #define AE_spy_showFile_url 'URL ' // URL
00348 // ****************** ParseAnchor
00349 #define AE_spy_parse        'PRSA' // typeChar main URL
00350 #define AE_spy_parse_rel    'RELA' // typeChar relative URL
00351 
00352 // ****************** Progress (receiving)
00353 #define AE_spy_CancelProgress 'CNCL' // typeLongInteger transactionID
00354 #define AE_spy_CancelProgress_win 'WIND' // typeLongInteger windowID
00355 
00356 // ****************** FindURL
00357 #define AE_spy_findURL             'FURL' // typeFSS file spec. Returns the URL of the file
00358 
00359 // =================== Windows
00360 
00361 // ****************** Activate
00362 #define AE_spy_activate                          'ACTV' // typeLong window ID
00363 #define AE_spy_activate_flags             'FLGS' // typeLong unused flags
00364 // ****************** ListWindows
00365 #define AE_spy_listwindows                'LSTW' // no arguments
00366 // ****************** GetWindowInfo
00367 #define AE_spy_getwindowinfo              'WNFO' // typeLong window
00368 
00369 //
00370 // ================== Registration events
00371 //
00372 
00373 // ****************** RegisterURLEcho
00374 #define AE_spy_registerURLecho            'RGUE' // typeApplSignature application
00375 // ****************** UnregisterURLEcho
00376 #define AE_spy_unregisterURLecho   'UNRU' // typeApplSignature application
00377 
00378 // ****************** RegisterViewer
00379 #define AE_spy_registerViewer             'RGVW' //  typeSign  Application
00380 #define AE_spy_registerViewer_mime 'MIME' // typeChar          Mime type
00381 #define AE_spy_registerViewer_flag 'MTHD' // typeLongInteger Flags
00382 #define AE_spy_registerViewer_ftyp 'FTYP' // file type
00383 // ****************** UnregisterViewer
00384 #define AE_spy_unregisterViewer           'UNRV' // typeApplSignature application
00385 #define AE_spy_unregisterViewer_mime 'MIME'      // MIME type
00386 
00387 // ****************** Register protocol
00388 #define AE_spy_register_protocol          'RGPR' // typeApplSignature application
00389 #define AE_spy_register_protocol_pro      'PROT' // typeChar protocol
00390 // ****************** Unregister protocol
00391 #define AE_spy_unregister_protocol        'UNRP' // typeApplSignature application
00392 #define AE_spy_register_protocol_pro      'PROT' // typeChar protocol
00393 
00394 // ****************** RegisterWindowClose
00395 #define AE_spy_registerWinClose           'RGWC' // typeApplSignature application
00396 #define AE_spy_registerWinClose_win       'WIND'// typeLong window
00397 // ****************** UnregisterWindowClose
00398 #define AE_spy_unregisterWinClose         'UNRC' // typeApplSignature application
00399 #define AE_spy_unregisterWinClose_win     'WIND'// typeLong window
00400 
00401 
00402 // ****************** SetOption
00403 #define AE_spy_setOption                  'SOPT' // typeChar option name
00404 #define AE_spy_setOption_value            'OPTV' // type depends upon the option
00405 // ****************** GetOption
00406 #define AE_spy_getOption                  'GOPT' // typeChar option name
00407 // ****************** ListOptions
00408 #define AE_spy_listOptions                'LOPT' // no arguments
00409 
00410 //
00411 // ===================== SENDING ============================
00412 //
00413 // ViewDocFile
00414 #define AE_spy_viewDocFile                'VDOC' // typeAlias  fileSpec
00415 #define AE_spy_viewDocFile_url            'URL ' // typeChar   url
00416 #define AE_spy_viewDocFile_mime           'MIME' // typeChar mimeType
00417 #define AE_spy_viewDocFile_wind           'WIND' // typeLongInteger Window ID
00418 // BeginProgress
00419 #define AE_spy_beginProgress              'PRBG' // typeLongInteger windowID
00420 #define AE_spy_beginProgress_msg   'PMSG' // typeChar message
00421 // SetProgressRange
00422 #define AE_spy_setProgressRange           'PRSR' // typeLongInteger transactionID
00423 #define AE_spy_setProgressRange_max 'MAXV'       // typeLongInteger max
00424 // MakingProgress
00425 #define AE_spy_makingProgress             'PRMK' // typeLongInteger transactionID
00426 #define AE_spy_makingProgress_msg  'PMSG' // typeChar message
00427 #define AE_spy_makingProgress_curr 'CURR' // typeLongInteger current data size
00428 // EndProgress
00429 #define AE_spy_endProgress                'PREN' // typeLongInteger transactionID
00430 // QueryViewer
00431 #define AE_spy_queryViewer                'QVWR' // typeChar url
00432 #define AE_spy_queryViewer_mime           'MIME' // typeChar MIME type
00433 // URLEcho
00434 #define AE_spy_URLecho                           'URLE' // typeChar url
00435 #define AE_spy_URLecho_mime               'MIME' // typeChar MIME type
00436 #define AE_spy_URLecho_win                'WIND' // typeLongInt windowID
00437 #define AE_spy_URLecho_referer            'RFRR' // typeChar referer
00438 // Window closed
00439 #define AE_spy_winClosed                  'WNDC' // typeLong windowID
00440 #define AE_spy_winClosedExiting           'EXIT' // typeBoolean are we quitting?
00441 
00442 #endif // 0 - not supported in Mozilla.
00443 
00444 /*--------------------------------------------------------------------------*/
00445 /*                                 ---- Eudora Suite  ----                                                             */
00446 /*--------------------------------------------------------------------------*/      
00447 
00448 /*----------------------------------------------------------------------------
00449        Client applications can manipulate our Mail system to send, receive
00450        and do other mail operations by remote contro.
00451        We can also 
00452 ----------------------------------------------------------------------------*/
00453 
00454 //     ----  Class Definitions for objects Eudora can manipulate
00455 //----------------------------------------------------------------------------------------
00456 
00457 #define cEuMailfolder     'euMF'  // Class:                    folder for mailboxes and mail folders
00458 #define pEuTopLevel       'euTL'  // Property boolean:  is top-level of Eudora Folder?
00459 #define pEuFSS            'euFS'  // Property alias:    FSS for file
00460 
00461 #define cEuMailbox        'euMB'  /* mailbox */
00462 #define pEuMailboxType    'euMT'  /* in, out, trash, ... */
00463 #define pEuWasteSpace     'euWS'  /* space wasted in mailbox */
00464 #define pEuNeededSpace    'euNS'  /* space needed by messages in mailbox */
00465 #define pEuTOCFSS         'eTFS'  /* FSS for toc file (pEuFSS is for mailbox) */
00466 
00467 #define cEuNotify         'eNot'  /* applications to notify */
00468                                   /* pEuFSS is the fsspec */
00469 
00470 #define cEuMessage        'euMS'  /* message */
00471 #define pEuPriority       'euPY'  /* priority */
00472 #define pEuStatus         'euST'  /* message status */
00473 #define pEuSender         'euSe'  /* sender */
00474 #define pEuDate           'euDa'  /* date */
00475 #define pEuSize           'euSi'  /* size */
00476 #define pEuSubject        'euSu'  /* subject */
00477 #define pEuOutgoing       'euOu'  /* outgoing? */
00478 #define pEuSignature      'eSig'  /* signature? */
00479 #define pEuWrap           'eWrp'  /* wrap? */
00480 #define pEuFakeTabs       'eTab'  /* fake tabs? */
00481 #define pEuKeepCopy       'eCpy'  /* keep copy? */
00482 #define pEuHqxText        'eXTX'  /* HQX -> TEXT? */
00483 #define pEuMayQP          'eMQP'  /* may use quoted-printable? */
00484 #define pEuAttachType     'eATy'  /* attachment type; 0 double, 1 single, 2 hqx, 3 uuencode */
00485 #define pEuShowAll        'eBla'  /* show all headers */
00486 #define pEuTableId        'eTbl'  /* resource id of table */
00487 #define pEuBody           'eBod'  /* resource id of table */
00488 #define pEuSelectedText   'eStx'  /* the text selected now */
00489 #define pEuWillFetch      'eWFh'  /* is on list to fetch next time */
00490 #define pEuWillDelete     'eWDl'  /* is on list to delete next time */
00491 #define pEuReturnReceipt  'eRRR'  /* return receipt requested */
00492 #define pEuLabel          'eLbl'  /* label index */
00493 
00494 #define cEuField          'euFd'  /* field in message */
00495 
00496 #define cEu822Address     'e822'  /* RFC 822 address */
00497 
00498 #define cEuTEInWin        'EuWT'  /* the teh of a window */
00499 #define cEuWTEText        'eWTT'  /* text from the teh of a window */
00500 
00501 #define cEuPreference     'ePrf'  /* a preference string */
00502 
00503 #define kEudoraSuite      'CSOm'  /* Eudora suite */
00504 #define keyEuNotify       'eNot'  /* Notify of new mail */
00505 #define kEuNotify         keyEuNotify
00506 #define kEuInstallNotify  'nIns'  /* install a notification */
00507 #define kEuRemoveNotify   'nRem'  /* remove a notification */
00508 #define keyEuWhatHappened 'eWHp'  /* what happened */
00509 #define keyEuMessList     'eMLs'  /* Message list */
00510 
00511 #define eMailArrive       'wArv'  /* mail has arrived */
00512 #define eMailSent         'wSnt'  /* mail has been sent */
00513 #define eWillConnect      'wWCn'  /* will connect */
00514 #define eHasConnected     'wHCn'  /* has connected */
00515 
00516 #define kEuReply          'eRep'  /* Reply */
00517 #define keyEuToWhom       'eRWh'  /* Reply to anyone in particular? */
00518 #define keyEuReplyAll     'eRAl'  /* Reply to all? */
00519 #define keyEuIncludeSelf  'eSlf'  /* Include self? */
00520 #define keyEuQuoteText    'eQTx'  /* Quote original message text? */
00521 
00522 #define kEuForward        'eFwd'  /* Forward */
00523 
00524 #define kEuRedirect       'eRdr'  /* Redirect */
00525 
00526 #define kEuSalvage        'eSav'  /* Salvage a message */
00527 
00528 #define kEuAttach         'eAtc'  /* Attach a document */
00529 #define keyEuDocumentList 'eDcl'  /* List of dox to attach */
00530 
00531 #define kEuQueue          'eQue'  /* Queue a message */
00532 #define keyEuWhen         'eWhn'  /* When to send message */
00533 
00534 #define kEuUnQueue        'eUnQ'  /* Unqueue a message */
00535 
00536 #define kEuConnect        'eCon'  /* Connect (send/queue) */
00537 #define keyEuSend         'eSen'
00538 #define keyEuCheck        'eChk'
00539 #define keyEuOnIdle       'eIdl'  /* wait until Eudora is idle? */
00540 
00541 #define kEuNewAttach      'euAD'  /* attach document, new style */
00542 #define keyEuToWhat       'euMS'  /* attach to what message? */
00543 
00544 #define typeVDId          'VDId'  /* vref & dirid */
00545 
00546 #define kIn               IN
00547 #define kOut              OUT
00548 #define kTrash            TRASH
00549 #define KRegular          0
00550 
00551 
00552 
00553 
00554 
00555 
00556 
00557 
00558 
00559 
00560 
00561 
00562 
00563 
00564 
00565 
00566 
00567 
00568 
00569 
00570 
00571 
00572 
00573 
00574 
00575 
00576