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 |
5307
|
19 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|
20 02110-1301, USA. |
1
|
21 |
|
22 */ |
|
23 |
383
|
24 #if !defined (octave_sysdep_h) |
|
25 #define octave_sysdep_h 1 |
1
|
26 |
1750
|
27 #include <string> |
1690
|
28 |
1966
|
29 #include "lo-ieee.h" |
2926
|
30 #include "lo-sysdep.h" |
1966
|
31 |
1
|
32 extern void sysdep_init (void); |
|
33 |
5451
|
34 extern void sysdep_cleanup (void); |
|
35 |
3657
|
36 extern void raw_mode (bool, bool wait = true); |
|
37 |
4067
|
38 extern int octave_kbhit (bool wait = true); |
529
|
39 |
5451
|
40 extern void w32_set_quiet_shutdown (void); |
|
41 |
|
42 #if defined (__WIN32__) && ! defined (_POSIX_VERSION) |
|
43 extern void MINGW_signal_cleanup (void); |
|
44 #define USE_W32_SIGINT 1 |
|
45 #define MINGW_SIGNAL_CLEANUP() MINGW_signal_cleanup () |
|
46 #else |
|
47 #define MINGW_SIGNAL_CLEANUP() do { } while (0) |
|
48 #endif |
|
49 |
6598
|
50 extern bool same_file_internal (const std::string&, const std::string&); |
|
51 |
1
|
52 #endif |
|
53 |
|
54 /* |
|
55 ;;; Local Variables: *** |
|
56 ;;; mode: C++ *** |
|
57 ;;; End: *** |
|
58 */ |