% Copyright 2006 by Till Tantau
%
% 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.


\RequirePackage{pgfrcs}

\ProvidesPackageRCS{pgf.sty}

\def\pgf@draft{}
\DeclareOption{draft}{\def\pgf@draft{\pgf@draftmodetrue}}

% the following obsolete stuff is loaded by default:
\def\pgf@obsolete{\RequirePackage{pgfcomp-version-0-65,pgfcomp-version-1-18}}

\DeclareOption{version=0.65}{} % obsolete stuff is loaded
\DeclareOption{version=0.96}{\def\pgf@obsolete{\RequirePackage{pgfcomp-version-1-18}}} % less obsolete stuff is loaded
\DeclareOption{version=1.18}{\def\pgf@obsolete{\RequirePackage{pgfcomp-version-1-18}}} % less obsolete stuff is loaded
\DeclareOption{version=latest}{\def\pgf@obsolete{}} % no obsolete stuff is loaded

\ProcessOptions

\RequirePackage{pgfcore}

\usepgfmodule{shapes,plot}

%\RequirePackage{pgfbasesnakes}
%\RequirePackage{pgfbasedecorations}
%\RequirePackage{pgfbasematrix}

\pgf@obsolete
\pgf@draft

\endinput
