MacLO/src/MacCommon.h

20 lines
449 B
C
Raw Normal View History

// Copyright (c) Jon Thysell <http://jonthysell.com>
// Licensed under the MIT License.
#ifndef MACCOMMON_H
#define MACCOMMON_H
#define BaseResID 128
#define MoveToFront (WindowPtr)-1L
#define EmptyString "\p"
#define NilFilterProc nil
#define ErrorAlertResID BaseResID
pascal OSErr SetDialogDefaultItem(DialogPtr theDialog, short newItem) = { 0x303C, 0x0304, 0xAA68 };
void ShowError(Str255 message, Boolean isFatal);
#endif