"Fossies" - the Fresh Open Source Software Archive

Member "epstool-3.08/src/cargs.h" (10 Jun 2005, 1681 Bytes) of package /linux/misc/old/ghost/ghostgum/epstool-3.08-os2.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /* Copyright (C) 1993-2002 Ghostgum Software Pty Ltd.  All rights reserved.
    2 
    3   This software is provided AS-IS with no warranty, either express or
    4   implied.
    5 
    6   This software is distributed under licence and may not be copied,
    7   modified or distributed except as expressly authorised under the terms
    8   of the licence contained in the file LICENCE in this distribution.
    9 
   10   For more information about licensing, please refer to
   11   http://www.ghostgum.com.au/ or contact Ghostsgum Software Pty Ltd, 
   12   218 Gallaghers Rd, Glen Waverley VIC 3150, AUSTRALIA, 
   13   Fax +61 3 9886 6616.
   14 */
   15 
   16 /* $Id: cargs.h,v 1.1 2002/04/17 11:39:07 ghostgum Exp $ */
   17 /* Argument parsing header */
   18 
   19 #ifndef GSVIEW_ARGS_TYPEDEF
   20 #define GSVIEW_ARGS_TYPEDEF
   21 typedef struct GSVIEW_ARGS_s GSVIEW_ARGS;
   22 #endif
   23 
   24 struct GSVIEW_ARGS_s {
   25     int debug;          /* /d */
   26     int multithread;        /* /t */
   27     int help;           /* -help */
   28     int version;        /* -version */
   29     TCHAR filename[MAXSTR]; /* filename */
   30     TCHAR queue[MAXSTR];        /* /pQUEUE  or /sQUEUE */
   31     char device[64];        /* /fDEVICE */
   32     int print;          /* /p */
   33     int convert;        /* /f */
   34     int spool;          /* /s */
   35 #ifdef NOTUSED
   36     int existing;       /* /e */
   37     int exit_existing;      /* /x */
   38 #endif
   39     char media[64];     /* /ma4 */
   40     int orient; /* ORIENT_AUTO etc */   /* /oportrait */
   41     float xdpi;         /* -rXDPIxYDPI */
   42     float ydpi;
   43     int geometry;       /* -geometry WIDTHxHEIGHT+XOFFSET+YOFFSET */
   44     int geometry_width;
   45     int geometry_height;
   46     int geometry_xoffset;
   47     int geometry_yoffset;
   48 };
   49 
   50 int parse_argv(GSVIEW_ARGS *args, int argc, TCHAR *argv[]);
   51 void app_use_args(GSview *app, GSVIEW_ARGS *args);
   52 void view_use_args(View *v, GSVIEW_ARGS *args);
   53