
   /***********************************************************************
   *                                                                      *
   *                            COPYRIGHTS                                *
   *                                                                      *
   *   Copyright (c) 1990  Commodore-Amiga, Inc.  All Rights Reserved.    *
   *   This file was modified by © Zinneberg-Soft.                        *
   ***********************************************************************/

/* local.h - Definitions used by standard modules */

   /*  #include <stdlib.h>  */


#include "app.h"

/**********/
/* main.c */
/**********/
 void __stdargs ErrorF(char * , ...);
extern struct IntuitionBase *IntuitionBase;
extern struct Library       *CxBase;
extern struct GfxBase       *GfxBase;
extern struct DosLibrary    *DOSBase;
extern struct Library       *GadToolsBase;

extern struct MsgPort *cxport;      /* commodities messages here      */
extern ULONG          cxsigflag;    /* signal for above               */

extern struct MsgPort *iport;       /* Intuition IDCMP messages here   */
extern ULONG          isigflag;     /* signal for above                */

/********/
/* cx.c */
/********/
extern char   hotkeybuff[];   /* holds the string describing the popup */
                              /* hotkey. Used for the window title     */

VOID handleCxMsg(struct Message *);
BOOL setupCX(char **);
VOID shutdownCX(VOID);

/************/
/* window.c */
/************/
VOID   handleIMsg(struct IntuiMessage *);
struct Window *getNewWindow(VOID);
int    addGadgets(struct Window *);
VOID   removeGadgets(VOID);

#define PRIORITY_TOOL_TYPE     "CX_PRIORITY"
#define POP_ON_START_TOOL_TYPE "CX_POPUP"
#define POPKEY_TOOL_TYPE       "CX_POPKEY"
