home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
source
/
macify13.shr
/
macify.hqx
/
Source
/
U
/
FileMenu.c
< prev
next >
Wrap
Text File
|
1991-03-15
|
2KB
|
78 lines
/* FileMenu Handle this menu list */
/* Unit name: FileMenu.c */
/* Function: Handle this specific menu list. */
/* History: 3/15/91 Original by Prototyper 3.0 */
#include "PCommonMacify.h" /* Common */
#include "Common_Macify.h" /* Common */
#include "PUtils_Macify.h" /* General Utilities */
#include "Utils_Macify.h" /* General Utilities */
#include "FileMenu.h" /* This file */
/* ======================================================= */
/* Routine: Do_FileMenu */
/* Purpose: Handle any menu items in this list specially. */
/* Get the main handler to ignore this menu item by changing */
/* SkipProcessing to be TRUE. */
/* This routine is called before the main handler does anything */
/* when Doing_Pre is TRUE, it is called after the main handler */
/* again with Doing_Pre equal to FALSE. */
void Do_FileMenu( Doing_Pre, theItem, SkipProcessing) /* Handle this menu selection */
Boolean Doing_Pre;
short theItem;
Boolean *SkipProcessing;
{
*SkipProcessing = FALSE; /* Set to not skip the processing of this menu item */
switch (theItem) /* Handle all commands in this menu list */
{
case MItem_Mac____UNIX:
if (Doing_Pre == TRUE)
{
}
else
{
}
break;
case MItem_UNIX____Mac:
if (Doing_Pre == TRUE)
{
}
else
{
}
break;
case MItem_Quit:
if (Doing_Pre == TRUE)
{
}
else
{
}
break;
default:
break;
} /* End of item case */
} /* End of procedure */
/* ======================================================= */