~maddevelopers/mg5amcnlo/2.9.4

« back to all changes in this revision

Viewing changes to vendor/StdHEP/src/display/util/DialogF.h

pass to v2.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/************************************************************************
 
2
 *                                                                      *
 
3
 * DialogF.h -- interface for modal error dialog routine                *
 
4
 *                                                                      *
 
5
 * Copyright (c) 1991 Universities Research Association, Inc.           *
 
6
 * All rights reserved.                                                 *
 
7
 *                                                                      *
 
8
 * Fermilab Nirvana Project                                             *
 
9
 * April 26, 1991                                                       *
 
10
 *                                                                      *
 
11
 * Written by Joy Kyriakopulos                                          *
 
12
 *                                                                      *
 
13
 ************************************************************************/
 
14
/* SCCS ID: DialogF.h 1.4 12/16/93 */
 
15
 
 
16
/*
 
17
 *  To use DialogF, #include <stdarg.h>
 
18
 */
 
19
 
 
20
#define DF_ERR 1                        /* Error Dialog       */
 
21
#define DF_INF 2                        /* Information Dialog */
 
22
#define DF_MSG 3                        /* Message Dialog     */
 
23
#define DF_QUES 4                       /* Question Dialog    */
 
24
#define DF_WARN 5                       /* Warning Dialog     */
 
25
#define DF_PROMPT 6                     /* Prompt Dialog      */
 
26
 
 
27
#define DF_MAX_MSG_LENGTH 2047          /* longest message length supported */
 
28
#define DF_MAX_PROMPT_LENGTH 255        /* longest prompt string supported */
 
29
 
 
30
unsigned DialogF(unsigned, Widget, unsigned, char*, ...);
 
31
                                /* variable # arguments */