Index: trunk/src/flag.c =================================================================== --- trunk/src/flag.c (revision 9312) +++ trunk/src/flag.c (revision 9313) @@ -28,7 +28,32 @@ #include #include "config.h" #include "flag.h" +#include "operation.h" +pcb_opfunc_t ChgFlagFunctions = { +#if 0 + Rotate90Line, + Rotate90Text, + Rotate90Polygon, + NULL, + Rotate90Element, + Rotate90ElementName, + NULL, + NULL, + Rotate90LinePoint, + NULL, + Rotate90Arc, + NULL, + NULL, + Rotate90Subc +#else + NULL +#endif +}; + + + + /* This just fills in a pcb_flag_t with current flags. */ pcb_flag_t pcb_flag_make(unsigned int flags) { Index: trunk/src/operation.h =================================================================== --- trunk/src/operation.h (revision 9312) +++ trunk/src/operation.h (revision 9313) @@ -95,6 +95,12 @@ unsigned number; /* number of rotations */ } pcb_opctx_rotate_t; +typedef struct { + pcb_board_t *pcb; + unsigned long how; /* pcb_change_flag_t */ + unsigned long flag; /* pcb_flag_values_t */ +} pcb_opctx_chgflag_t; + typedef union { pcb_opctx_buffer_t buffer; pcb_opctx_chgname_t chgname; @@ -106,6 +112,7 @@ pcb_opctx_move_t move; pcb_opctx_remove_t remove; pcb_opctx_rotate_t rotate; + pcb_opctx_chgflag_t chgflag; } pcb_opctx_t; /* pointer to low-level operation (copy, move and rotate) functions */