% Use helvetica font instead of times roman
\RequirePackage{helvet}
\RequirePackage{sectsty}
\RequirePackage{tocloft}
\providecommand{\rmdefault}{phv}
\providecommand{\bfdefault}{bc}
\usepackage[T1]{fontenc}

% Setup fancy headings
\RequirePackage{fancyhdr}
\newcommand{\clearemptydoublepage}{%
  \newpage{\pagestyle{empty}\cleardoublepage}%
}
% Used by @image
% (only if inline is specified)
\newlength{\DoxyInlineHeightChar}
\settoheight{\DoxyInlineHeightChar}{H}
\renewenvironment{DoxyInlineImage}{%
\settoheight{\DoxyInlineHeightChar}{H}
}{%
}

% Headers & footers
\pagestyle{fancyplain}
\renewcommand{\footrulewidth}{0.4pt}
%
\fancypagestyle{fancyplain}{
\fancyhf{}
\fancyhead[LE, RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\fancyfoot[LO, RE]{\bfseries\scriptsize Generated by Doxygen @VERSION@ }
}
%
\fancypagestyle{plain}{
\fancyhf{}
\fancyfoot[LO, RE]{\bfseries\scriptsize Generated by Doxygen @VERSION@ }
\renewcommand{\headrulewidth}{0pt}}
%
\pagestyle{fancyplain}
\renewcommand{\chaptermark}[1]{%
  \markboth{#1}{}%
}
\renewcommand{\sectionmark}[1]{%
  \markright{\thesection\ #1}%
}
%
\usepackage{regexpatch}
\xpatchcmd{\part}{plain}{empty}{}{}

