/*
 *  WICONIFY    A utility that allows you to iconify any Intuition window
 *              on any screen, and to open WB windows on any screen.
 *
 *  wFile.h     Defines and structures for the initialization file.
 *
 *  Copyright 1990 by Davide P. Cervone, all rights reserved.
 *  You may use this code, provided this copyright notice is kept intact.
 */

#define INTUITION_SCREEN_H                  /* don't need 'em */
#include "wIconify.h"
#include "wExtern.h"


#define MAXLINE             132
#define MAXWIDTH            78
#define MAXWORDS            5
#define MAXHEIGHT           32
#define MAXDEPTH            5


/*
 *  The commands allowed in the initialization file
 */

#define COM_NONE            0
#define COM_ICONKEY         1
#define COM_CHANGEREFRESH   2
#define COM_ACTIVEKEY       3
#define COM_COLORMAP        4
#define COM_DEFAULTFLAGS    5
#define COM_SCREENFLAGS     6
#define COM_MENUKEYS        7
#define COM_IGNORESCREEN    8
#define COM_PRIORITY        9
#define COM_HIRESCLICOM     10
#define COM_LORESCLICOM     11
#define COM_DEFAULTIMAGE    12
#define COM_DEFAULTSELECT   13
#define COM_DEFAULTMASK     14
#define COM_DEAFULTICON     15
#define COM_SCREENIMAGE     16
#define COM_SCREENSELECT    17
#define COM_SCREENMASK      18
#define COM_SCREENICON      19
#define COM_OPENON          20
#define COM_AUTORESIZE      21
#define COM_COMMANDSTACK    22
#define COM_HANDLERPRI      23
#define COM_EOF             99
#define COM_UNKNOWN         100

#define COM_LAST            COM_HANDLERPRI


#define WORDMATCH(w)        (stricmp(Word,w) == 0)

struct Flag
{
   char *Name;
   ULONG Flag;
};


#ifndef FILE
#define FILE    APTR
#endif

extern FILE *InFile;
extern int EndOfFile;
extern char NextChar;
extern char Word[MAXLINE+1];
