% Copyright 2008 by Mark Wibrow
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/generic/pgf/licenses/LICENSE for more details.

\ProvidesFileRCS{tikzlibraryshapes.gates.logic.IEC.code.tex}

\usepgflibrary{shapes.gates.logic.IEC}%

\tikzset{%
  use IEC style logic gates/.code={%
    \tikzset{%
            and gate/.style={shape=and gate IEC},
            nand gate/.style={shape=nand gate IEC},
            or gate/.style={shape=or gate IEC},
            nor gate/.style={shape=nor gate IEC},
            xor gate/.style={shape=xor gate IEC},
            xnor gate/.style={shape=xnor gate IEC},
            not gate/.style={shape=not gate IEC},
            buffer gate/.style={shape=buffer gate IEC},
            and gate symbol/.style={and gate IEC symbol={##1}},
            nand gate symbol/.style={nand gate IEC symbol={##1}},
            or gate symbol/.style={or gate IEC symbol={##1}},
            nor gate symbol/.style={nor gate IEC symbol={##1}},
            xor gate symbol/.style={xor gate IEC symbol={##1}},
            xnor gate symbol/.style={xnor gate IEC symbol={##1}},
            not gate symbol/.style={not gate IEC symbol={##1}},
            buffer gate symbol/.style={buffer gate IEC symbol={##1}},
            logic gate symbol align/.style={/pgf/logic gate IEC symbol align={##1}},
            logic gate symbol color/.style={/pgf/logic gate IEC symbol color={##1}}
        }%
    }%
}%
\endinput
