home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / macfe / include / resae.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  20.5 KB  |  528 lines

  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. /*--------------------------------------------------------------------------*/
  20. /*            ----  Resource and Command Code Base IDs  ----                    */
  21. /*--------------------------------------------------------------------------*/    
  22.  
  23. //    ----  Base Values for Apple Event Command sets
  24. //----------------------------------------------------------------------------------------
  25.  
  26. #define        kSpyGlass_CmdBase            5000        // Base value for SpyGlass commands
  27. #define        kURLSuite_CmdBase            5100        // Base value for URL commands
  28.  
  29. //    ----  aedt Resource IDs used to associate Commands with Event Suite and ID pairs
  30. //----------------------------------------------------------------------------------------
  31.  
  32. enum    {
  33.     kRequired_aedtResID    = 128,            // Resource ID for Required suite's aedt resource
  34.     kCore_aedtResID,                    // Resource ID for Core suite's aedt resource
  35.     kMisc_aedtResID,                    // Resource ID for Misc suite's aedt resource
  36.     kPowerPlant_aedtResID,                // Resource ID for PowerPlant suite's aedt resource
  37.     kURLSuite_aedtResID,                // Resource ID for URL suite's aedt resource
  38.     kSpyGlass_aedtResID                    // Resource ID for SpyGlass suite's aedt resource
  39. };
  40.  
  41. /*--------------------------------------------------------------------------*/
  42. /*                    ----  Event Command Codes  ----                            */
  43. /*--------------------------------------------------------------------------*/    
  44.  
  45. /*----------------------------------------------------------------------------
  46.     The Apple Events Template resource 'aedt' (found in Types.r)    
  47.     is used to associate an Event Class and Event ID with a
  48.     unique integer value.  These integer values are private to the
  49.     application processing the events.
  50.     
  51.     restriction:  PowerPlant uses integer valuse below 4000                                    
  52. ----------------------------------------------------------------------------*/
  53.  
  54.  
  55. //    ----  World Wide Web / Spyglass Suite
  56. //----------------------------------------------------------------------------------------
  57. enum    {
  58.     AE_OpenURL = kSpyGlass_CmdBase, // OpenURL                                WWW! OURL
  59.     AE_RegisterViewer,                // RegisterViewer                        WWW! RGVW
  60.     AE_UnregisterViewer,            // UnregisterViewer                        WWW! UNRV
  61.     AE_ShowFile,                    // ShowFile                                WWW! SHWF
  62.     AE_ParseAnchor,                    // ParseAnchor                            WWW! PRSA
  63.     AE_RegisterURLEcho,                // Register URL echo                    WWW! RGUE
  64.     AE_UnregisterURLEcho,            // Unregister URL echo                    WWW! UNRU
  65.     AE_SpyActivate,                    // Activate                                WWW! ACTV
  66.     AE_SpyListWindows,                // ListWindows                            WWW! LSTW
  67.     AE_GetWindowInfo,                // GetWindowInfo                        WWW! WNFO
  68.     AE_RegisterWinClose,            // RegisterWindowClose                    WWW! RGWC
  69.     AE_UnregisterWinClose,            // UnregisterWindowClose                WWW! UNRC
  70.     AE_RegisterProtocol,            // RegisterProtocol                        WWW! RGPR
  71.     AE_UnregisterProtocol,            // UnregisterProtocol                    WWW! UNRP
  72.     AE_CancelProgress,                // Cancel download                        WWW! CNCL
  73.     AE_FindURL                        // Find the URL for the file            WWW! FURL
  74. };
  75.  
  76. //    ----  Netscape Experimental Suite and Macintosh URL suite
  77. //----------------------------------------------------------------------------------------
  78. enum    {
  79.  
  80.     AE_GetWD = kURLSuite_CmdBase,    // Get working directory of app          MOSS WURL
  81.     AE_OpenBookmark,                // Open bookmarks                        MOSS book
  82.     AE_ReadHelpFile,                // Read help file                        MOSS help
  83.     AE_Go,                            // Go                                    MOSS gogo
  84.     AE_OpenProfileManager,            // Launch app with user profile mgr        MOSS prfl
  85.     AE_GetURL,                        // GetURL                                GURL GURL
  86.     AE_OpenAddressBook,                // Open Address Book                    MOSS addr
  87.     AE_OpenComponent,                // Open a component                        MOSS cpnt
  88.     AE_GetActiveProfile,            // Get the name of the active profile    MOSS upro
  89.     AE_HandleCommand                // Handle a command ae                    MOSS ncmd
  90. };
  91.  
  92.  
  93. //    ----  The so called Option Suite.  Never implemented, left here for historical purposes
  94. //----------------------------------------------------------------------------------------
  95.  
  96. #define AE_GetOption            4016    // GetOption
  97. #define AE_SetOption            4017    // SetOption
  98. #define AE_ListOptions            4018    // ListOptions
  99.  
  100. //    ----  These are supposed to be "Events We Send" but I don't see these constants used
  101. //----------------------------------------------------------------------------------------
  102.  
  103. #define AE_ViewDocFile            4019    // ViewDocFile
  104. #define AE_BeginProgress        4020    // Begin progress
  105. #define AE_SetProgressRange        4021    // Set progress range
  106. #define AE_MakingProgress        4022    // Making progress
  107. #define AE_EndProgress            4023    // End progress
  108. #define AE_QueryViewer            4024    // Query viewer
  109. #define AE_URLEcho                4026    // URL echo
  110. #define AE_WindowClose            4027    // WindowClose
  111.  
  112.  
  113. /*----------------------------------------------------------------------------
  114.     List of Suites, Event IDs, and (I guess) parameters for events.
  115.     This information is public and needed by any application wanting
  116.     to send Apple Events to our application.                        
  117. ----------------------------------------------------------------------------*/
  118.  
  119. /*********************************************************************************
  120.  * Netscape suite
  121.  * Event: Go
  122.  * Arguments: keyDirectObject (objectSpecifier for a window
  123.  *            direction       (stil in flux, currently back, forward, home, and again)
  124.  *                                should really be a history object
  125.  *********************************************************************************/
  126. // Event codes
  127. #define AE_www_suite                     'MOSS'
  128.  
  129. #define AE_www_workingURL                'wurl'    // Get working URL
  130.  
  131. #define AE_www_go                         'gogo'    // keyDirectObject HWIN, direction 'dire'
  132. // direction can be kAENext, kAEPrevious, AE_www_go_again, AE_www_go_home
  133. #define AE_www_go_direction             'dire'    // directions
  134. #define AE_www_go_again                 'agai'    // keyDirectObject HWIN 
  135. #define AE_www_go_home                    'home'    // keyDirectObject HWIN 
  136. #define AE_www_super_reload                'srld'    // keyDirectObject HWIN 
  137.  
  138. #define AE_www_openBookmark                'book'    // Open Bookmark file
  139. #define AE_www_openAddressBook            'addr'    // Open Address Book
  140.  
  141. #define AE_www_ReadHelpFile              'help'    // keyDirectObject is the file
  142. #define AE_www_ReadHelpFileID             'idid'    // Help file id. If none, use "DEFAULT"
  143. #define AE_www_ReadHelpFileSearchText     'sear' // Search text, no default
  144.  
  145. #define AE_www_ProfileManager            'prfl'    //obsolete
  146.  
  147. //Component stuff
  148. #define AE_www_openComponent            'cpnt'
  149.  
  150. #define AE_www_comp_navigator            'navg'
  151. #define AE_www_comp_inbox                'inbx'
  152. #define AE_www_comp_collabra            'colb'
  153. #define AE_www_comp_composer            'cpsr'
  154. #define AE_www_comp_conference            'conf'
  155. #define AE_www_comp_calendar            'cald'
  156. #define AE_www_comp_ibmHostOnDemand        'ibmh'
  157. #define AE_www_comp_netcaster            'netc'
  158.  
  159. //Handle a command
  160. #define AE_www_handleCommand            'hcmd'
  161.  
  162. //Get active profile
  163. #define AE_www_getActiveProfile            'upro'
  164.  
  165. // Objects
  166. #define AE_www_typeWindow                'HWIN'
  167. // window properties
  168. #define AE_www_typeWindowURL            'curl'    // Property: current URL
  169. #define AE_www_typeWindowID                'wiid'    // unique ID
  170. #define AE_www_typeWindowBusy             'busy'    // Are we busy
  171. // application properties
  172. #define AE_www_typeApplicationAlert     'ALAP'
  173. #define AE_www_typeKioskMode            'KOSK'    // Kiosk mode
  174. /*********************************************************************************
  175.  * URL suite
  176.  * Standard Mac "GetURL suite, as defined by John Norstad and others
  177.  * Look around ftp://ftp.acns.nwu.edu/pub/newswatcher/ for official spec
  178.  * Event: GetURL
  179.  * Arguments:     keyDirectObject (typeText, the url
  180.  *                to (destination) (typeFSS optional file to save to)
  181.  *                from (refererer) (typeText, the referer)
  182.  *                with (window) (typeObjectSpec, the window)
  183.  *********************************************************************************/
  184. #define AE_url_suite                'GURL'
  185.  
  186. // Event codes
  187. #define AE_url_getURL                 'GURL'    // keyDirectObject typeChar URL, 
  188. // AE_www_typeWindow window window    to load the url in
  189. #define AE_url_getURLdestination     'dest'    
  190. #define AE_url_getURLrefererer         'refe'
  191. #define AE_url_getURLname            'name'    // window name
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201. /*********************************************************************************
  202.  * "Spyglass" suite
  203.  * http://www.spyglass.com:4040/newtechnology/integration/iapi.htm
  204.  *
  205.  * Accepted events:
  206.  * Event:    OpenURL
  207.  * Arguments: 
  208.  *            S: keyDirectObject typeChar the url
  209.  *            S: typeFSS into
  210.  *            S: typeLongInteger windowID (unique window ID for applescript)
  211.  *            typeLongInteger flags -- unused
  212.  *            S: typeWildCard post data -- you can post a form
  213.  *            S: typeChar MIME type    -- for post. Defaults to application/x-www-form-urlencoded
  214.  *            S: typePSN Progress app
  215.  *    Reply:    windowID
  216.  *
  217.  * Event:    RegisterViewer
  218.  * Arguments:
  219.  *            keyDirectObject typeApplSignature
  220.  *            typeChar        MIME type
  221.  *    Reply:    bool success
  222.  *
  223.  * Event:    UnRegisterViewer
  224.  *            keyDirectObject typeApplSignature
  225.  *            typeChar        MIME type
  226.  *    Reply:    none
  227.  *
  228.  * Event: RegisterURLEcho
  229.  *             keyDirectObject typeApplSignature (optional). Otherwise, sender is used
  230.  *    Reply:    typeBoolean on success, errAECoercionFail if already registered
  231.  *
  232.  * Event: UnregisterURLEcho
  233.  *            keyDirectObject typeApplSignature (optional). Otherwise, sender is used
  234.  *
  235.  *  SENDING:
  236.  * Event:    ViewDocFile
  237.  * Arguments:
  238.  *            keyDirectObject    typeAlias file spec
  239.  *            typeChar    url
  240.  *            typeChar    mime type
  241.  *            typeLongInteger window id
  242.  *    Reply:    none
  243.  *
  244.  * Event:    BeginProgress
  245.  * Arguments:
  246.  *            keyDirectObject typeLongInteger windowID
  247.  *            typeChar message
  248.  *  Reply:    typeLongInteger transactionID
  249.  *
  250.  * Event:    SetProgressRange
  251.  * Arguments:
  252.  *            keyDirectObject typeLongInteger transactionID
  253.  *            typeLongInteger    max value. -1 if the value is unknown
  254.  *  Reply:    none
  255.  *
  256.  * Event:    MakingProgress
  257.  * Arguments:
  258.  *            keyDirectObject typeLongInteger transactionID
  259.  *            typeText message
  260.  *            typeLongInteger current value of the transaction
  261.  *    Reply: typeBoolean cancel
  262.  *
  263.  * Event:    EndProgress
  264.  * Arguments:
  265.  *            keyDirectObject typeLongInteger transactionID
  266.  *    Reply: none
  267.  *
  268.  * Event:    QueryViewer
  269.  * Arguments:
  270.  *            keyDirectObject typeChar url
  271.  *            typeChar MIME type
  272.  *  Reply:    typeFSS fileSpec
  273.  *
  274.  * Event:    ShowFile
  275.  * Arguments:
  276.  *            keyDirectObject typeAlias -- the file
  277.  *
  278.  *********************************************************************************/
  279. #define AE_spy_receive_suite        'WWW!'
  280. #define AE_spy_send_suite            'WWW?'
  281.  
  282. // ===================== RECEIVING ==========================
  283.  
  284. // ================== Miscelaneous events
  285.  
  286. // ****************** OpenURL
  287. #define AE_spy_openURL        'OURL'    // typeChar OpenURL
  288. #define AE_spy_openURL_into 'INTO'    // typeFSS into
  289. #define AE_spy_openURL_wind    'WIND'    // typeLongInteger windowID
  290. #define AE_spy_openURL_flag 'FLGS'    // typeLongInteger flags
  291. #define AE_spy_openURL_post    'POST'    // typeWildCard post data
  292. #define AE_spy_openURL_mime 'MIME'    // typeChar MIME type
  293. #define AE_spy_openURL_prog 'PROG'    // typePSN Progress app
  294.  
  295. // ****************** ShowFile
  296. #define AE_spy_showFile        'SHWF'    // typeAlias file spec
  297. #define AE_spy_showFile_mime 'MIME'    // typeChar MIME type
  298. #define AE_spy_showFile_win    'WIND'    // WindowID
  299. #define AE_spy_showFile_url 'URL '    // URL
  300. // ****************** ParseAnchor
  301. #define AE_spy_parse        'PRSA'    // typeChar main URL
  302. #define AE_spy_parse_rel    'RELA'    // typeChar relative URL
  303.  
  304. // ****************** Progress (receiving)
  305. #define AE_spy_CancelProgress 'CNCL' // typeLongInteger transactionID
  306. #define AE_spy_CancelProgress_win 'WIND' // typeLongInteger windowID
  307.  
  308. // ****************** FindURL
  309. #define AE_spy_findURL        'FURL'    // typeFSS file spec. Returns the URL of the file
  310.  
  311. // =================== Windows
  312.  
  313. // ****************** Activate
  314. #define AE_spy_activate                'ACTV'    // typeLong window ID
  315. #define AE_spy_activate_flags        'FLGS'    // typeLong unused flags
  316. // ****************** ListWindows
  317. #define AE_spy_listwindows            'LSTW'    // no arguments
  318. // ****************** GetWindowInfo
  319. #define AE_spy_getwindowinfo        'WNFO'    // typeLong window
  320.  
  321. //
  322. // ================== Registration events
  323. //
  324.  
  325. // ****************** RegisterURLEcho
  326. #define AE_spy_registerURLecho        'RGUE'    // typeApplSignature application
  327. // ****************** UnregisterURLEcho
  328. #define AE_spy_unregisterURLecho    'UNRU'    // typeApplSignature application
  329.  
  330. // ****************** RegisterViewer
  331. #define AE_spy_registerViewer        'RGVW'    //  typeSign    Application
  332. #define AE_spy_registerViewer_mime    'MIME'    // typeChar        Mime type
  333. #define AE_spy_registerViewer_flag    'MTHD'    // typeLongInteger Flags
  334. #define AE_spy_registerViewer_ftyp    'FTYP'    // file type
  335. // ****************** UnregisterViewer
  336. #define AE_spy_unregisterViewer        'UNRV'    // typeApplSignature application
  337. #define AE_spy_unregisterViewer_mime 'MIME'    // MIME type
  338.  
  339. // ****************** Register protocol
  340. #define AE_spy_register_protocol        'RGPR'    // typeApplSignature application
  341. #define AE_spy_register_protocol_pro     'PROT'    // typeChar protocol
  342. // ****************** Unregister protocol
  343. #define AE_spy_unregister_protocol        'UNRP'    // typeApplSignature application
  344. #define AE_spy_register_protocol_pro     'PROT'    // typeChar protocol
  345.  
  346. // ****************** RegisterWindowClose
  347. #define AE_spy_registerWinClose        'RGWC'    // typeApplSignature application
  348. #define AE_spy_registerWinClose_win    'WIND'// typeLong window
  349. // ****************** UnregisterWindowClose
  350. #define AE_spy_unregisterWinClose        'UNRC'    // typeApplSignature application
  351. #define AE_spy_unregisterWinClose_win    'WIND'// typeLong window
  352.  
  353.  
  354. // ****************** SetOption
  355. #define AE_spy_setOption            'SOPT'    // typeChar option name
  356. #define AE_spy_setOption_value        'OPTV'    // type depends upon the option
  357. // ****************** GetOption
  358. #define AE_spy_getOption            'GOPT'    // typeChar option name
  359. // ****************** ListOptions
  360. #define AE_spy_listOptions            'LOPT'    // no arguments
  361.  
  362. //
  363. // ===================== SENDING ============================
  364. //
  365. // ViewDocFile
  366. #define AE_spy_viewDocFile            'VDOC'    // typeAlias    fileSpec
  367. #define AE_spy_viewDocFile_url        'URL '    // typeChar    url
  368. #define AE_spy_viewDocFile_mime        'MIME'    // typeChar mimeType
  369. #define AE_spy_viewDocFile_wind        'WIND'    // typeLongInteger Window ID
  370. // BeginProgress
  371. #define AE_spy_beginProgress        'PRBG'    // typeLongInteger windowID
  372. #define AE_spy_beginProgress_msg    'PMSG'    // typeChar message
  373. // SetProgressRange
  374. #define AE_spy_setProgressRange        'PRSR'    // typeLongInteger transactionID
  375. #define AE_spy_setProgressRange_max 'MAXV'    // typeLongInteger max
  376. // MakingProgress
  377. #define AE_spy_makingProgress        'PRMK'    // typeLongInteger transactionID
  378. #define AE_spy_makingProgress_msg    'PMSG'    // typeChar message
  379. #define AE_spy_makingProgress_curr    'CURR'    // typeLongInteger current data size
  380. // EndProgress
  381. #define AE_spy_endProgress            'PREN'    // typeLongInteger transactionID
  382. // QueryViewer
  383. #define AE_spy_queryViewer            'QVWR'    // typeChar url
  384. #define AE_spy_queryViewer_mime        'MIME'    // typeChar MIME type
  385. // URLEcho
  386. #define AE_spy_URLecho                'URLE'    // typeChar url
  387. #define AE_spy_URLecho_mime            'MIME'    // typeChar MIME type
  388. #define AE_spy_URLecho_win            'WIND'    // typeLongInt windowID
  389. #define AE_spy_URLecho_referer        'RFRR'    // typeChar referer
  390. // Window closed
  391. #define AE_spy_winClosed            'WNDC'    // typeLong windowID
  392. #define AE_spy_winClosedExiting        'EXIT'    // typeBoolean are we quitting?
  393.  
  394.  
  395. /*--------------------------------------------------------------------------*/
  396. /*                    ---- Eudora Suite  ----                                    */
  397. /*--------------------------------------------------------------------------*/    
  398.  
  399. /*----------------------------------------------------------------------------
  400.     Client applications can manipulate our Mail system to send, receive
  401.     and do other mail operations by remote contro.
  402.     We can also 
  403. ----------------------------------------------------------------------------*/
  404.  
  405. //    ----  Class Definitions for objects Eudora can manipulate
  406. //----------------------------------------------------------------------------------------
  407.  
  408. #define cEuMailfolder     'euMF'  // Class:             folder for mailboxes and mail folders
  409. #define pEuTopLevel       'euTL'  // Property boolean:  is top-level of Eudora Folder?
  410. #define pEuFSS            'euFS'  // Property alias:      FSS for file
  411.  
  412. #define cEuMailbox        'euMB'  /* mailbox */
  413. #define pEuMailboxType    'euMT'  /* in, out, trash, ... */
  414. #define pEuWasteSpace     'euWS'  /* space wasted in mailbox */
  415. #define pEuNeededSpace    'euNS'  /* space needed by messages in mailbox */
  416. #define pEuTOCFSS         'eTFS'  /* FSS for toc file (pEuFSS is for mailbox) */
  417.  
  418. #define cEuNotify         'eNot'  /* applications to notify */
  419.                                   /* pEuFSS is the fsspec */
  420.  
  421. #define cEuMessage        'euMS'  /* message */
  422. #define pEuPriority       'euPY'  /* priority */
  423. #define pEuStatus         'euST'  /* message status */
  424. #define pEuSender         'euSe'  /* sender */
  425. #define pEuDate           'euDa'  /* date */
  426. #define pEuSize           'euSi'  /* size */
  427. #define pEuSubject        'euSu'  /* subject */
  428. #define pEuOutgoing       'euOu'  /* outgoing? */
  429. #define pEuSignature      'eSig'  /* signature? */
  430. #define pEuWrap           'eWrp'  /* wrap? */
  431. #define pEuFakeTabs       'eTab'  /* fake tabs? */
  432. #define pEuKeepCopy       'eCpy'  /* keep copy? */
  433. #define pEuHqxText        'eXTX'  /* HQX -> TEXT? */
  434. #define pEuMayQP          'eMQP'  /* may use quoted-printable? */
  435. #define pEuAttachType     'eATy'  /* attachment type; 0 double, 1 single, 2 hqx, 3 uuencode */
  436. #define pEuShowAll        'eBla'  /* show all headers */
  437. #define pEuTableId        'eTbl'  /* resource id of table */
  438. #define pEuBody           'eBod'  /* resource id of table */
  439. #define pEuSelectedText   'eStx'  /* the text selected now */
  440. #define pEuWillFetch      'eWFh'  /* is on list to fetch next time */
  441. #define pEuWillDelete     'eWDl'  /* is on list to delete next time */
  442. #define pEuReturnReceipt  'eRRR'  /* return receipt requested */
  443. #define pEuLabel          'eLbl'  /* label index */
  444.  
  445. #define cEuField          'euFd'  /* field in message */
  446.  
  447. #define cEu822Address     'e822'  /* RFC 822 address */
  448.  
  449. #define cEuTEInWin        'EuWT'  /* the teh of a window */
  450. #define cEuWTEText        'eWTT'  /* text from the teh of a window */
  451.  
  452. #define cEuPreference     'ePrf'  /* a preference string */
  453.  
  454. #define kEudoraSuite      'CSOm'  /* Eudora suite */
  455. #define keyEuNotify       'eNot'  /* Notify of new mail */
  456. #define kEuNotify         keyEuNotify
  457. #define kEuInstallNotify  'nIns'  /* install a notification */
  458. #define kEuRemoveNotify   'nRem'  /* remove a notification */
  459. #define keyEuWhatHappened 'eWHp'  /* what happened */
  460. #define keyEuMessList     'eMLs'  /* Message list */
  461.  
  462. #define eMailArrive       'wArv'  /* mail has arrived */
  463. #define eMailSent         'wSnt'  /* mail has been sent */
  464. #define eWillConnect      'wWCn'  /* will connect */
  465. #define eHasConnected     'wHCn'  /* has connected */
  466.  
  467. #define kEuReply          'eRep'  /* Reply */
  468. #define keyEuToWhom       'eRWh'  /* Reply to anyone in particular? */
  469. #define keyEuReplyAll     'eRAl'  /* Reply to all? */
  470. #define keyEuIncludeSelf  'eSlf'  /* Include self? */
  471. #define keyEuQuoteText    'eQTx'  /* Quote original message text? */
  472.  
  473. #define kEuForward        'eFwd'  /* Forward */
  474.  
  475. #define kEuRedirect       'eRdr'  /* Redirect */
  476.  
  477. #define kEuSalvage        'eSav'  /* Salvage a message */
  478.  
  479. #define kEuAttach         'eAtc'  /* Attach a document */
  480. #define keyEuDocumentList 'eDcl'  /* List of dox to attach */
  481.  
  482. #define kEuQueue          'eQue'  /* Queue a message */
  483. #define keyEuWhen         'eWhn'  /* When to send message */
  484.  
  485. #define kEuUnQueue        'eUnQ'  /* Unqueue a message */
  486.  
  487. #define kEuConnect        'eCon'  /* Connect (send/queue) */
  488. #define keyEuSend         'eSen'
  489. #define keyEuCheck        'eChk'
  490. #define keyEuOnIdle       'eIdl'  /* wait until Eudora is idle? */
  491.  
  492. #define kEuNewAttach      'euAD'  /* attach document, new style */
  493. #define keyEuToWhat       'euMS'  /* attach to what message? */
  494.  
  495. #define typeVDId          'VDId'  /* vref & dirid */
  496.  
  497. #define kIn               IN
  498. #define kOut              OUT
  499. #define kTrash            TRASH
  500. #define KRegular          0
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.