/*============================================================================*\
FILE    : UgMenuMenuButtonAdd.c
PURPOSE : Pro/TOOLKIT User Guide Example

HISTORY..
DATE      BUILD   AUTHOR    MODIFICATIONS
04-dec-97 H-02-02 dmp       $$1    Created
\*============================================================================*/


/*---------------------- Pro/Toolkit Includes ------------------------*/
#include <ProToolkit.h>
#include <ProMenu.h>

/*---------------------- Function Prototypes -------------------------*/
ProError ProUserAddMenuInit();
int ProCheckPart();

ProError ProUserAddMenuInit()
{
    ProError err;
    int menuId;

/*------------------------------------------------------------*\
    Declare the command function(s) used here.
\*------------------------------------------------------------*/
    int ProCheckPart(void *a, int b);

/*------------------------------------------------------------*\
    Load the menu files for the part menu
\*------------------------------------------------------------*/
    ProMenuFileRegister("part","part.mnu", &menuId);
    ProMenuAuxfileRegister("part","part.aux", &menuId);

/*------------------------------------------------------------*\
    Define the new part menu button(s)
\*------------------------------------------------------------*/
    ProMenubuttonActionSet("part", "Check Part", ProCheckPart, NULL, 0);
}

/*============================================================================*\
  Function : ProCheckPart
  Purpose  : Empty function used as a Menubutton action
\*============================================================================*/
int ProCheckPart(void *a, int b)
{
}
