pcb 4.1.1
An interactive printed circuit board layout editor.

data.h

Go to the documentation of this file.
00001 
00033 #ifndef PCB_DATA_H
00034 #define PCB_DATA_H
00035 
00036 #include "global.h"
00037 
00038 /* ---------------------------------------------------------------------------
00039  * some shared identifiers
00040  */
00041 
00042 
00043 extern CrosshairType Crosshair;
00044 
00045 extern MarkType Marked;
00046 
00047 extern OutputType Output;
00048 
00049 extern PCBType *PCB;
00050 
00051 #define max_group (PCB->Data->LayerN)
00052 #define max_copper_layer (PCB->Data->LayerN)
00053 #define bottom_silk_layer (max_copper_layer + BOTTOM_SILK_LAYER)
00054 #define top_silk_layer (max_copper_layer + TOP_SILK_LAYER)
00055 
00056 extern SettingType Settings;
00057 
00058 extern BufferType Buffers[MAX_BUFFER];
00059 
00060 extern LibraryType Library;
00061 
00062 /*extern        DeviceInfoType  PrintingDevice[];*/
00063 
00064 extern char *Progname;
00065 extern char *InputTranslations;
00066 
00067 extern int addedLines;
00068 extern int LayerStack[MAX_LAYER];
00069 
00070 extern bool Bumped;
00071 
00072 extern FlagType no_flags;
00073 
00074 extern int netlist_frozen;
00075 
00076 #endif