%%
%% This is file `interfaces-scrlfile.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% interfaces.dtx  (with options: `scrlfile')
%% 
%% This is a generated file.
%% 
%% interfaces : 2011/02/19 v3.1 - interfaces : interfaces with keys for other packages (FC)
%% 
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3 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
%% 
%% This work consists of the main source file interfaces.dtx
%% and the derived files
%%     interfaces.sty, interfaces.pdf, interfaces.ins,
%%     interfaces-base.sty,
%%     interfaces-LaTeX.sty,
%%     interfaces-tikz.sty,
%%     interfaces-titlesec.sty,
%%     interfaces-hyperref.sty,
%%     interfaces-bookmark.sty,
%%     interfaces-hypbmsec.sty,
%%     interfaces-fancyhdr.sty,
%%     interfaces-marks.sty,
%%     interfaces-tocloft.sty,
%%     interfaces-makecell.sty,
%%     interfaces-enumitem.sty,
%%     interfaces-truncate.sty,
%%     interfaces-appendix.sty,
%%     interfaces-embedfile.sty,
%%     interfaces-environ.sty,
%%     interfaces-umrand.sty,
%%     interfaces-scrlfile.sty,
%%     interfaces-pgfkeys.sty,
%%     interfaces-etoolbox.sty
%% 
%% interfaces: interfaces with keys for other packages (FC)
%% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
%% 
\ProvidesPackage{interfaces-scrlfile}
   [2011/02/19 v3.1 scrlfile hooks improved (FC)]
\RequirePackage{interfaces-base}
\AfterEndPreamble{%
   \let\@pkgextension\ltx@pkgextension
   \let\@clsextension\ltx@clsextension
   \let\@ifpackageloaded\ltx@ifpackageloaded
   \let\@ifclassloaded\ltx@ifclassloaded
}
\renewrobustcmd*\scr@load@hook[2]{%
   \csuse{#2-@#1}%
   \ifcsname#2-@#1-\string\keep\endcsname\else\global\csundef{#2-@#1}\fi
}% \scr@load@hook
\renewrobustcmd*\scr@set@load@hook[2]{\csgappto{#2-@#1}}
\renewrobustcmd*\BeforeFile{\@ifstar
   {\itf@s@LoadFile{before}}
   {\itf@LoadFile{before}}%
}% \BeforeFile
\renewrobustcmd*\AfterFile{\@ifstar
   {\itf@s@LoadFile{after}}
   {\itf@LoadFile{after}}%
}% \AfterFile
\def\itf@s@LoadFile#1#2{%
   \global\cslet{#2-@#1-\string\keep}\@empty
   \scr@set@load@hook{#1}{#2}%
}% \itf@s@LoadFile
\def\itf@LoadFile#1#2{%
   \global\csundef{#2-@#1-\string\keep}%
   \scr@set@load@hook{#1}{#2}%
}% \itf@LoadFile
\renewcommand*\@input[1]{\IfFileExists{#1}
   {\scr@load@hook{before}{#1}%
    \@@input\@filef@und
    \scr@load@hook{after}{#1}}%
   {\typeout{No file #1.}}%
}% \@input
\endinput
%%
%% End of file `interfaces-scrlfile.sty'.