/* **********************************************************************
 * *                                                                    *
 * *  Debug Menu header file                                            *
 * *                                                                    *
 * **********************************************************************
 * File: iris/xuif/dbg.h
 *
 *                        COPYRIGHT (c) 2005  BY
 *          SIGMET INCORPORATED, WESTFORD MASSACHUSETTS, U.S.A.
 * 
 * THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND  COPIED
 * ONLY  IN  ACCORDANCE WITH  THE  TERMS  OF  SUCH  LICENSE  AND WITH THE
 * INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE  OR  ANY OTHER
 * COPIES  THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
 * OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE  IS  HEREBY
 * TRANSFERED.
 */

#ifndef DBG_H
#define DBG_H

#ifdef DBG_ALLOCATE
#define EXTERN
#else
#define EXTERN extern
#endif


#define LOG_ENTRY_MAX 64
EXTERN SINT2  ilog_ctr;

EXTERN Widget dbg_mainbar;
EXTERN Widget dbg_filebtn, dbg_filepdw;
EXTERN Widget dbg_menubtn, dbg_menupdw;
EXTERN Widget dbg_printpdw;


EXTERN XsLAB_TGL dbgscc, dbgcon;

EXTERN Widget dbg_sloglab, dbg_slogonbtn, dbg_slogoffbtn;
EXTERN Widget dbg_legendlab;
EXTERN Widget dbg_loglst;

void dbg_file_cbf( Widget wgt, int idx_a, XmPushButtonCallbackStruct* cbd );
void dbg_menu_cbf( Widget wgt, int idx_a, XmPushButtonCallbackStruct* cbd );
void dbg_scctgl_cbf( Widget wgt, void *tag, void *cbd );
void dbg_contgl_cbf( Widget wgt,char* tag, XmToggleButtonCallbackStruct* cbd );
void dbg_slogonbtn_cbf(Widget wgt, void* tag, void* cbd );
void dbg_slogoffbtn_cbf(Widget wgt, void* tag, void* cbd );
void dbg_scclog( const char * );

#undef EXTERN
#endif
