dosfns.h 1.55 KB
Newer Older
Richard M. Stallman's avatar
Richard M. Stallman committed
1 2
/* MS-DOS specific Lisp utilities interface.
   Coded by Manabu Higashida, 1991.
Eli Zaretskii's avatar
Eli Zaretskii committed
3 4 5 6
   Modified by Morten Welinder, 1993-1994.

   Copyright (C) 1991, 1994, 1995, 1997, 1999
   Free Software Foundation, Inc.
Richard M. Stallman's avatar
Richard M. Stallman committed
7 8 9 10 11

This file is part of GNU Emacs.

GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Richard M. Stallman's avatar
Richard M. Stallman committed
12
the Free Software Foundation; either version 2, or (at your option)
Richard M. Stallman's avatar
Richard M. Stallman committed
13 14 15 16 17 18 19 20 21
any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING.  If not, write to
22 23
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.  */
Richard M. Stallman's avatar
Richard M. Stallman committed
24

25 26 27 28 29 30 31 32 33
extern EMACS_INT dos_hyper_key;
extern EMACS_INT dos_super_key;
extern EMACS_INT dos_decimal_point;
extern EMACS_INT dos_keypad_mode;

extern EMACS_INT dos_keyboard_layout;
extern EMACS_INT dos_country_code;
extern EMACS_INT dos_codepage;
extern EMACS_INT dos_timezone_offset;
34 35 36 37

#define DOS_COUNTRY_INFO 34	/* no of bytes returned by dos int 38h */
extern unsigned char dos_country_info[DOS_COUNTRY_INFO];

Richard M. Stallman's avatar
Richard M. Stallman committed
38
extern Lisp_Object Vdos_version;
Eli Zaretskii's avatar
Eli Zaretskii committed
39
extern Lisp_Object Vdos_windows_version;
Morten Welinder's avatar
Morten Welinder committed
40
#ifndef HAVE_X_WINDOWS
41
extern Lisp_Object Vdos_display_scancodes;
42 43

extern int         msdos_stdcolor_idx  P_ ((const char *));
44
extern Lisp_Object msdos_stdcolor_name P_ ((int));
Morten Welinder's avatar
Morten Welinder committed
45
#endif