Mercurial > hg > xemacs-beta
comparison src/device.h @ 462:0784d089fdc9 r21-2-46
Import from CVS: tag r21-2-46
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:44:37 +0200 |
parents | abe6d1db359e |
children | 9a775fb11bb7 |
comparison
equal
deleted
inserted
replaced
461:120ed4009e51 | 462:0784d089fdc9 |
---|---|
318 | 318 |
319 #define DEVICE_X_P(dev) CONSOLE_TYPESYM_X_P (DEVICE_TYPE (dev)) | 319 #define DEVICE_X_P(dev) CONSOLE_TYPESYM_X_P (DEVICE_TYPE (dev)) |
320 #define CHECK_X_DEVICE(z) CHECK_DEVICE_TYPE (z, x) | 320 #define CHECK_X_DEVICE(z) CHECK_DEVICE_TYPE (z, x) |
321 #define CONCHECK_X_DEVICE(z) CONCHECK_DEVICE_TYPE (z, x) | 321 #define CONCHECK_X_DEVICE(z) CONCHECK_DEVICE_TYPE (z, x) |
322 | 322 |
323 #define DEVICE_GTK_P(dev) CONSOLE_TYPESYM_GTK_P (DEVICE_TYPE (dev)) | |
324 #define CHECK_GTK_DEVICE(z) CHECK_DEVICE_TYPE (z, gtk) | |
325 #define CONCHECK_GTK_DEVICE(z) CONCHECK_DEVICE_TYPE (z, gtk) | |
326 | |
323 #define DEVICE_MSWINDOWS_P(dev) CONSOLE_TYPESYM_MSWINDOWS_P (DEVICE_TYPE (dev)) | 327 #define DEVICE_MSWINDOWS_P(dev) CONSOLE_TYPESYM_MSWINDOWS_P (DEVICE_TYPE (dev)) |
324 #define CHECK_MSWINDOWS_DEVICE(z) CHECK_DEVICE_TYPE (z, mswindows) | 328 #define CHECK_MSWINDOWS_DEVICE(z) CHECK_DEVICE_TYPE (z, mswindows) |
325 #define CONCHECK_MSWINDOWS_DEVICE(z) CONCHECK_DEVICE_TYPE (z, mswindows) | 329 #define CONCHECK_MSWINDOWS_DEVICE(z) CONCHECK_DEVICE_TYPE (z, mswindows) |
326 | 330 |
327 #define DEVICE_TTY_P(dev) CONSOLE_TYPESYM_TTY_P (DEVICE_TYPE (dev)) | 331 #define DEVICE_TTY_P(dev) CONSOLE_TYPESYM_TTY_P (DEVICE_TYPE (dev)) |
339 EXFUN (Ffind_device, 2); | 343 EXFUN (Ffind_device, 2); |
340 EXFUN (Fmake_device, 3); | 344 EXFUN (Fmake_device, 3); |
341 EXFUN (Fselected_device, 1); | 345 EXFUN (Fselected_device, 1); |
342 | 346 |
343 extern Lisp_Object Qcreate_device_hook, Qdelete_device_hook, Qgrayscale; | 347 extern Lisp_Object Qcreate_device_hook, Qdelete_device_hook, Qgrayscale; |
344 extern Lisp_Object Qinit_post_tty_win, Qmono, Vdefault_x_device; | 348 extern Lisp_Object Qinit_post_tty_win, Qmono, Vdefault_x_device, Vdefault_gtk_device; |
345 extern Lisp_Object Vdevice_class_list; | 349 extern Lisp_Object Vdevice_class_list; |
346 | 350 |
347 int valid_device_class_p (Lisp_Object class); | 351 int valid_device_class_p (Lisp_Object class); |
348 | 352 |
349 #define DEVICE_LIVE_P(d) (!EQ (DEVICE_TYPE (d), Qdead)) | 353 #define DEVICE_LIVE_P(d) (!EQ (DEVICE_TYPE (d), Qdead)) |