%% Copyright (c) 2010-2011 by Martin Scharrer <martin@scharrer-online.de>
%% -----------------------------------------------------------------
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%
%%   http://www.latex-project.org/lppl.txt
%%
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2008/05/04 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is Martin Scharrer.
%%
%% This work consists of the files filehook.dtx, filehook.ins
%% and the derived file filehook.sty.
%%
%% $Id: filehook.dtx 2033 2011-01-09 17:14:37Z martin $
\ProvidesPackage{pgf-filehook}[2010/01/07 v1.0 PGF keys for the filehook package]
\RequirePackage{filehook}
\RequirePackage{pgfkeys}

\pgfkeys{%
    /filehook/.is family,
    /filehook,
    EveryFile/.is family,
    EveryFile/AtBegin/.code={\AtBeginOfEveryFile{#1}},
    EveryFile/AtBegin/.value required,
    EveryFile/AtEnd/.code={\AtEndOfEveryFile{#1}},
    EveryFile/AtEnd/.value required,
    Files/.is family,
    Files/AtBegin/.code={\AtBeginOfFiles{#1}},
    Files/AtBegin/.value required,
    Files/AtEnd/.code={\AtEndOfFiles{#1}},
    Files/AtEnd/.value required,
    File/.is family,
    File/AtBegin/.code 2 args={\AtBeginOfFile{#1}{#2}},
    File/AtBegin/.value required,
    File/AtEnd/.code 2 args={\AtEndOfFile{#1}{#2}},
    File/AtEnd/.value required,
    Inputs/.is family,
    Inputs/AtBegin/.code={\AtBeginOfInputs{#1}},
    Inputs/AtBegin/.value required,
    Inputs/AtEnd/.code={\AtEndOfInputs{#1}},
    Inputs/AtEnd/.value required,
    InputFile/.is family,
    InputFile/AtBegin/.code 2 args={\AtBeginOfInputFile{#1}{#2}},
    InputFile/AtBegin/.value required,
    InputFile/AtEnd/.code 2 args={\AtEndOfInputFile{#1}{#2}},
    InputFile/AtEnd/.value required,
    Includes/.is family,
    Includes/AtBegin/.code={\AtBeginOfIncludes{#1}},
    Includes/AtBegin/.value required,
    Includes/AtEnd/.code={\AtEndOfIncludes{#1}},
    Includes/AtEnd/.value required,
    Includes/After/.code={\AfterIncludes{#1}},
    Includes/After/.value required,
    IncludeFile/.is family,
    IncludeFile/AtBegin/.code 2 args={\AtBeginOfIncludeFile{#1}{#2}},
    IncludeFile/AtBegin/.value required,
    IncludeFile/AtEnd/.code 2 args={\AtEndOfIncludeFile{#1}{#2}},
    IncludeFile/AtEnd/.value required,
    IncludeFile/After/.code 2 args={\AfterIncludeFile{#1}{#2}},
    IncludeFile/After/.value required,
    ClassFile/.is family,
    ClassFile/AtBegin/.code={\AtBeginOfClassFile#1},
    ClassFile/AtBegin/.value required,
    ClassFile/AtEnd/.code={\AtEndOfClassFile#1},
    ClassFile/AtEnd/.value required,
    PackageFile/.is family,
    PackageFile/AtBegin/.code={\AtBeginOfPackageFile#1},
    PackageFile/AtBegin/.value required,
    PackageFile/AtEnd/.code={\AtEndOfPackageFile#1},
    PackageFile/AtEnd/.value required,
}

\newcommand{\pgffilehook}{\pgfqkeys{/filehook}}

\endinput
%%
%% End of file `pgf-filehook.sty'.
