PIPS
wpips-local.h
Go to the documentation of this file.
1 /*
2 
3  $Id: wpips-local.h 23065 2016-03-02 09:05:50Z coelho $
4 
5  Copyright 1989-2016 MINES ParisTech
6 
7  This file is part of PIPS.
8 
9  PIPS is free software: you can redistribute it and/or modify it
10  under the terms of the GNU General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  any later version.
13 
14  PIPS is distributed in the hope that it will be useful, but WITHOUT ANY
15  WARRANTY; without even the implied warranty of MERCHANTABILITY or
16  FITNESS FOR A PARTICULAR PURPOSE.
17 
18  See the GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with PIPS. If not, see <http://www.gnu.org/licenses/>.
22 
23 */
24 #define SMALL_BUFFER_LENGTH 2560
25 
26 #define MESSAGE_BUFFER_LENGTH 1024
27 #define TEXT_BUFFER_LENGTH 1024
28 
29 /* How many display wondows can be opened : */
30 #define MAX_NUMBER_OF_WPIPS_WINDOWS 9
31 #define INITIAL_NUMBER_OF_WPIPS_WINDOWS 2
32 #define NO_TEXTSW_AVAILABLE -1 /* cannot be positive (i.e. a window number. */
33 extern int number_of_wpips_windows;
34 
35 
36 /* If we are in the Emacs mode, the log_frame is no longer really used: */
37 extern Frame main_frame,
45 
46 extern Panel main_panel,
52 
55 
56 
57 typedef bool success;
58 
59 
60 /* This variable is used to indicate wether wpips is in the Emacs
61  mode: */
62 extern bool wpips_emacs_mode;
63 
64 
65 /* The type to describe the command to execute outside the notifyer: */
66 typedef enum {
67  WPIPS_EXIT = 1647300,
71 
72 
73 /* The type describing a Transform menu entry: */
74 typedef struct
75 {
78 }
80 
81 
82 /* The type describing a View menu entry: */
84 {
88  char * icon_name;
89 };
91 
92 
93 /* Define the menu separator: */
94 #define WPIPS_MENU_SEPARATOR MENU_ITEM, MENU_STRING, "", MENU_INACTIVE, TRUE, NULL
95 /* How it is specified in the layout .h: */
96 #define WPIPS_MENU_SEPARATOR_ID ""
97 
98 /* Here are the X ressource stuff: */
99 /* The Log Window: */
100 #define WPIPS_LOG_WINDOW_WIDTH_RESSOURCE_NAME "wpips.logwindow.width"
101 #define WPIPS_LOG_WINDOW_WIDTH_RESSOURCE_CLASS "Wpips.Logwindow.Width"
102 #define WPIPS_LOG_WINDOW_WIDTH_DEFAULT DIALOG_WIDTH
103 
104 #define WPIPS_LOG_WINDOW_HEIGHT_RESSOURCE_NAME "wpips.logwindow.height"
105 #define WPIPS_LOG_WINDOW_HEIGHT_RESSOURCE_CLASS "Wpips.Logwindow.Height"
106 #define WPIPS_LOG_WINDOW_HEIGHT_DEFAULT DIALOG_HEIGHT
The type describing a Transform menu entry:
Definition: wpips-local.h:75
The type describing a View menu entry:
Definition: wpips-local.h:84
void(* method_function_to_use)(struct wpips_view_menu_layout_line_s *)
Definition: wpips-local.h:87
icon_list
Definition: wpips-local.h:53
@ LAST_ICON
Definition: wpips-local.h:54
@ WP65_bank_ICON
Definition: wpips-local.h:53
@ callgraph_ICON
Definition: wpips-local.h:53
@ WP65_PE_ICON
Definition: wpips-local.h:53
@ user_ICON
Definition: wpips-local.h:54
@ ICFG_ICON
Definition: wpips-local.h:53
@ PIPS_ICON
Definition: wpips-local.h:53
@ parallel_ICON
Definition: wpips-local.h:54
@ sequential_ICON
Definition: wpips-local.h:54
#define MAX_NUMBER_OF_WPIPS_WINDOWS
How many display wondows can be opened :
Definition: wpips-local.h:30
Panel query_panel
Definition: wpips-local.h:48
Frame mchoose_frame
Definition: wpips-local.h:39
Frame options_frame
Definition: wpips-local.h:44
bool wpips_emacs_mode
This variable is used to indicate wether wpips is in the Emacs mode:
Definition: emacs.c:65
Frame query_frame
Definition: wpips-local.h:43
Frame log_frame
Definition: wpips-local.h:40
Frame schoose_frame
Definition: wpips-local.h:38
Frame main_frame
If we are in the Emacs mode, the log_frame is no longer really used:
Definition: gpips.c:60
Panel status_panel
Definition: wpips-local.h:47
bool success
Definition: wpips-local.h:57
Panel help_panel
Definition: wpips-local.h:51
Frame edit_frame[MAX_NUMBER_OF_WPIPS_WINDOWS]
Definition: wpips-local.h:41
Panel mchoose_panel
Definition: wpips-local.h:49
wpips_main_loop_command_type
The type to describe the command to execute outside the notifyer:
Definition: wpips-local.h:66
@ WPIPS_EXIT
Definition: wpips-local.h:67
@ WPIPS_EXECUTE_AND_DISPLAY
Definition: wpips-local.h:69
@ WPIPS_SAFE_APPLY
Definition: wpips-local.h:68
Panel main_panel
Definition: wpips.c:63
Panel schoose_panel
Definition: wpips-local.h:50
Frame help_frame
Definition: wpips-local.h:42
int number_of_wpips_windows
Definition: xv_edit2.c:77