\documentclass[a4paper]{book}
\usepackage{a4wide}
\usepackage{makeidx}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{float}
\usepackage{listings}
\usepackage{color}
\usepackage{textcomp}
\usepackage{alltt}
\usepackage{times}
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\else
\usepackage[ps2pdf,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\usepackage{pspicture}
\fi
\usepackage[utf8]{inputenc}
\usepackage{doxygen}
\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left }
\makeindex
\setcounter{tocdepth}{3}
\renewcommand{\footrulewidth}{0.4pt}
\begin{document}
\hypersetup{pageanchor=false}
\begin{titlepage}
\vspace*{7cm}
\begin{center}
{\Large simplehsm(C\#) }\\
\vspace*{1cm}
{\large Generated by Doxygen 1.5.9}\\
\vspace*{0.5cm}
{\small Thu Feb 4 09:29:12 2010}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\pagenumbering{roman}
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true}
\chapter{Main Page}
\label{index}\hypertarget{index}{}\input{index}
\chapter{Todo List}
\label{todo}
\hypertarget{todo}{}
\include{todo}
\chapter{Namespace Index}
\input{namespaces}
\chapter{Class Index}
\input{hierarchy}
\chapter{Class Index}
\input{annotated}
\chapter{File Index}
\input{files}
\chapter{Namespace Documentation}
\input{namespace_calc}
\include{namespace_calc_1_1_properties}
\include{namespace_oven}
\include{namespace_simple_hsm}
\chapter{Class Documentation}
\input{class_calc_1_1_calc_event}
\include{class_calc_1_1_calc_hsm}
\include{class_simple_hsm_1_1_deep_history}
\include{class_calc_1_1_main_form}
\include{class_oven_1_1_oven}
\include{class_oven_1_1_program}
\include{class_calc_1_1_properties_1_1_resources}
\include{class_calc_1_1_properties_1_1_settings}
\include{class_simple_hsm_1_1_simple_hsm}
\include{class_simple_hsm_1_1_state_event}
\chapter{File Documentation}
\input{_calc_hsm_8cs}
\include{_main_form_8cs}
\include{_main_form_8_designer_8cs}
\include{_calc_2_program_8cs}
\include{_oven_2_program_8cs}
\include{_calc_2_properties_2_assembly_info_8cs}
\include{_oven_2_properties_2_assembly_info_8cs}
\include{_simple_hsm_2_properties_2_assembly_info_8cs}
\include{_resources_8_designer_8cs}
\include{_settings_8_designer_8cs}
\include{_simple_hsm_8cs}
\printindex
\end{document}
