mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-08-21 02:29:37 +00:00
1 line
16 KiB
C
1 line
16 KiB
C
|
/********************************************
; File: Finder.h
;
; Copyright Apple Computer, Inc. 1991-92
; All Rights Reserved
;
********************************************/
#ifndef __TYPES__
#include <TYPES.h>
#endif
#ifndef __QUICKDRAW__
#include <QUICKDRAW.h>
#endif
#ifndef __EVENT__
#include <EVENT.h>
#endif
#ifndef __WINDOW__
#include <WINDOW.h>
#endif
#ifndef __FINDER__
#define __FINDER__
/* target name for SendRequest to Finder */
#define NAME_OF_FINDER "\pApple~Finder~"
/* SendRequest codes sent by the Finder */
#define finderSaysHello 0x0100
#define finderSaysGoodbye 0x0101
#define finderSaysSelectionChanged 0x0102
#define finderSaysMItemSelected 0x0103
#define finderSaysBeforeOpen 0x0104
#define finderSaysOpenFailed 0x0105
#define finderSaysBeforeCopy 0x0106
#define finderSaysIdle 0x0107
#define finderSaysExtrasChosen 0x0108
#define finderSaysBeforeRename 0x0109
#define finderSaysKeyHit 0x010A
/************************************************************************************************/
/* SendRequest codes sent to the Finder (target = "Apple~Finder~") */
#define tellFinderGetDebugInfo 0x8000
#define tellFinderAreYouThere 0x8001
#define askFinderAreYouThere 0x8001
#define tellFinderOpenWindow 0x8002
#define tellFinderCloseWindow 0x8003
#define tellFinderGetSelectedIcons 0x8004
#define tellFinderSetSelectedIcons 0x8005
#define tellFinderLaunchThis 0x8006
#define tellFinderShutDown 0x8007
#define tellFinderMItemSelected 0x8008
#define tellFinderMatchFileToIcon 0x800A
#define tellFinderAddBundle 0x800B
#define tellFinderAboutChange 0x800C
#define tellFinderCheckDatabase 0x800D
#define tellFinderColorSelection 0x800E
#define tellFinderAddToExtras 0x800F
#define tellFinderIdleHowLong 0x8011
#define askFinderIdleHowLong 0x8011
#define tellFinderGetWindowIcons 0x8012
#define tellFinderGetWindowInfo 0x8013
#define tellFinderRemoveFromExtras 0x8014
#define tellFinderSpecialPreferences 0x8015
/************************************************************************************************/
/* Finder menu item IDs */
#define finderItemAbout 0x012D
#define finderItemHelp 0x012E
#define finderItemNewFolder 0x015F
#define finderItemOpen 0x0160
#define finderItemPrint 0x0161
#define finderItemClose 0x0162
#define finderItemCloseAll 0x0163
#define finderItemDuplicate 0x0164
#define finderItemPutAway 0x0165
#define finderItemValidate 0x0166
#define finderItemUndo 0x00FA
#define finderItemCut 0x00FB
#define finderItemCopy 0x00FC
#define finderItemPaste 0x00FD
#define finderItemClear 0x00FE
#define finderItemSelectAll 0x0191
#define finderItemShowClipboard 0x0192
#define finderItemStackWindows 0x01C3
#define finderItemByIcon 0x01F5
#define finderItemBySmallIcon 0x01F6
#define finderItemByName 0x01F7
#define finderItemByDate 0x01F8
#define finderItemBySize 0x01F9
#define finderItemByKind 0x01FA
#define finderItemFormat 0x0227
#define finderItemErase 0x0228
#define finderItemVerify 0x0229
#define finderItemEject 0x022A
#define finderItemCleanUp 0x0259
#define finderItemEmptyTrash 0x025A
#define finderItemPreferences 0x025B
#define finderItemIconInfo 0x025C
#define finderItemShutDown 0x025D
#define finderItemCleanUpByName 0x025E
#define finderItemColorBlack 0x028B
#define finderItemColorBlue 0x028C
#define finderItemColorYellowBrown 0x028D
#define finderItemColorGray1 0x028E
#define finderItemColorRed 0x028F
#define finderItemColorPurple 0x0290
#define finderItemColorOrange 0x0291
#define finderItemColorPink 0x0292
#define finderItemColorDarkGreen 0x0293
#define finderItemColorAqua 0x0294
#define finderItemColorBrightGreen 0x0295
#define finderItemColorPaleGreen 0x0296
#define finderItemColorPeriwinkleBlue 0x0298
#define finderItemColorYellow 0x0299
#define finderItemColorWhite 0x029A
/*******************
|