xkbprint.h revision 0e20ee16
10e20ee16Smrg#ifndef _XKBPRINT_H_ 20e20ee16Smrg#define _XKBPRINT_H_ 1 30e20ee16Smrg 40e20ee16Smrg/* $Xorg: xkbprint.h,v 1.3 2000/08/17 19:54:50 cpqbld Exp $ */ 50e20ee16Smrg/************************************************************ 60e20ee16Smrg Copyright (c) 1995 by Silicon Graphics Computer Systems, Inc. 70e20ee16Smrg 80e20ee16Smrg Permission to use, copy, modify, and distribute this 90e20ee16Smrg software and its documentation for any purpose and without 100e20ee16Smrg fee is hereby granted, provided that the above copyright 110e20ee16Smrg notice appear in all copies and that both that copyright 120e20ee16Smrg notice and this permission notice appear in supporting 130e20ee16Smrg documentation, and that the name of Silicon Graphics not be 140e20ee16Smrg used in advertising or publicity pertaining to distribution 150e20ee16Smrg of the software without specific prior written permission. 160e20ee16Smrg Silicon Graphics makes no representation about the suitability 170e20ee16Smrg of this software for any purpose. It is provided "as is" 180e20ee16Smrg without any express or implied warranty. 190e20ee16Smrg 200e20ee16Smrg SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 210e20ee16Smrg SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 220e20ee16Smrg AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON 230e20ee16Smrg GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL 240e20ee16Smrg DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 250e20ee16Smrg DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 260e20ee16Smrg OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH 270e20ee16Smrg THE USE OR PERFORMANCE OF THIS SOFTWARE. 280e20ee16Smrg 290e20ee16Smrg ********************************************************/ 300e20ee16Smrg/* $XFree86$ */ 310e20ee16Smrg 320e20ee16Smrg#define LABEL_AUTO -1 330e20ee16Smrg#define LABEL_NONE 0 340e20ee16Smrg#define LABEL_KEYNAME 1 350e20ee16Smrg#define LABEL_KEYCODE 2 360e20ee16Smrg#define LABEL_SYMBOLS 3 370e20ee16Smrg 380e20ee16Smrg#define NO_SYMBOLS 0 390e20ee16Smrg#define COMMON_SYMBOLS 1 400e20ee16Smrg#define ALL_SYMBOLS 2 410e20ee16Smrg 420e20ee16Smrgtypedef struct _XKBPrintArgs { 430e20ee16Smrg int copies; 440e20ee16Smrg int grid; 450e20ee16Smrg int label; 460e20ee16Smrg int baseLabelGroup; 470e20ee16Smrg int nLabelGroups; 480e20ee16Smrg int nTotalGroups; 490e20ee16Smrg int nKBPerPage; 500e20ee16Smrg int labelLevel; 510e20ee16Smrg int wantSymbols; 520e20ee16Smrg Bool wantKeycodes; 530e20ee16Smrg Bool wantDiffs; 540e20ee16Smrg Bool scaleToFit; 550e20ee16Smrg Bool wantColor; 560e20ee16Smrg Bool level1; 570e20ee16Smrg Bool wantEPS; 580e20ee16Smrg} XKBPrintArgs; 590e20ee16Smrg 600e20ee16Smrgextern Bool 610e20ee16SmrgDumpInternalFont( 620e20ee16Smrg FILE * /* out */, 630e20ee16Smrg char * /* fontName */ 640e20ee16Smrg); 650e20ee16Smrg 660e20ee16Smrgextern Bool 670e20ee16SmrgGeometryToPostScript( 680e20ee16Smrg FILE * /* out */, 690e20ee16Smrg XkbFileInfo * /* result */, 700e20ee16Smrg XKBPrintArgs * /* args */ 710e20ee16Smrg); 720e20ee16Smrg 730e20ee16Smrg#endif /* _XKBPRINT_H_ */ 74