1
|
1 /* |
|
2 |
2847
|
3 Copyright (C) 1996, 1997 John W. Eaton |
1
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
|
9 Free Software Foundation; either version 2, or (at your option) any |
|
10 later version. |
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
|
18 along with Octave; see the file COPYING. If not, write to the Free |
1315
|
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
1
|
20 |
|
21 */ |
|
22 |
1670
|
23 #if !defined (octave_toplev_h) |
|
24 #define octave_toplev_h 1 |
1
|
25 |
1355
|
26 #include <cstdio> |
1
|
27 |
3503
|
28 #include <string> |
|
29 |
2086
|
30 class octave_value; |
2796
|
31 class octave_value_list; |
2891
|
32 class octave_user_function; |
578
|
33 class tree_statement_list; |
1572
|
34 class charMatrix; |
1
|
35 |
2796
|
36 extern void |
|
37 clean_up_and_exit (int) GCC_ATTR_NORETURN; |
574
|
38 |
2796
|
39 extern int |
|
40 main_loop (void); |
1907
|
41 |
2796
|
42 extern void |
|
43 do_octave_atexit (void); |
2077
|
44 |
1
|
45 // Current command to execute. |
578
|
46 extern tree_statement_list *global_command; |
1
|
47 |
206
|
48 // Pointer to function that is currently being evaluated. |
2891
|
49 extern octave_user_function *curr_function; |
206
|
50 |
3834
|
51 // Original value of TEXMFDBS environment variable. |
|
52 extern std::string octave_original_texmfdbs; |
|
53 |
4217
|
54 // TRUE means we are ready to interpret commands, but not everything |
|
55 // is ready for interactive use. |
|
56 extern bool octave_interpreter_ready; |
|
57 |
4172
|
58 // TRUE means we've processed all the init code and we are good to go. |
|
59 extern bool octave_initialized; |
|
60 |
1
|
61 #endif |
|
62 |
|
63 /* |
|
64 ;;; Local Variables: *** |
|
65 ;;; mode: C++ *** |
|
66 ;;; End: *** |
|
67 */ |