\hypertarget{efreet_main_efreet_toc}{}\doxysection{Table of Contents}\label{efreet_main_efreet_toc}
\begin{DoxyItemize}
\item \mbox{\hyperlink{efreet_main_efreet_main_intro}{Introduction}} \item \mbox{\hyperlink{efreet_main_efreet_main_compiling}{How to compile}} \item \mbox{\hyperlink{efreet_main_efreet_main_next_steps}{Next Steps}}\end{DoxyItemize}
\hypertarget{efreet_main_efreet_main_intro}{}\doxysection{Introduction}\label{efreet_main_efreet_main_intro}
Efreet is a library designed to help apps work several of the Freedesktop.\+org standards regarding Icons, Desktop files and Menus. To that end it implements the following specifications\+:

\begin{DoxyItemize}
\item XDG Base Directory Specification \item Icon Theme Specification \item Desktop Entry Specification \item Desktop Menu Specification \item FDO URI Specification \item Shared Mime Info Specification \item Trash Specification\end{DoxyItemize}
\hypertarget{efreet_main_efreet_main_compiling}{}\doxysection{How to compile}\label{efreet_main_efreet_main_compiling}
Efreet is a library your application links to. The procedure for this is very simple. You simply have to compile your application with the appropriate compiler flags that the {\ttfamily pkg-\/config} script outputs. Mime and Thrash are separated modules. For example, to compile with mime support\+:

Compiling C or C++ files into object files\+:

\begin{DoxyVerb}gcc -c -o main.o main.c `pkg-config --cflags efreet efreet-mime`
\end{DoxyVerb}


Linking object files into a binary executable\+:

\begin{DoxyVerb}gcc -o my_application main.o `pkg-config --libs efreet efreet-mime`
\end{DoxyVerb}


See \mbox{\hyperlink{pkgconfig}{pkgconfig}}\hypertarget{efreet_main_efreet_main_next_steps}{}\doxysection{Next Steps}\label{efreet_main_efreet_main_next_steps}
After you understood what Efreet is and installed it in your system you should proceed understanding the programming interface.

Recommended reading\+:

\begin{DoxyItemize}
\item \mbox{\hyperlink{group__Efreet__Base}{Efreet\+\_\+\+Base\+: The XDG Base Directory Specification}} for base directory specification (XDG variables). \item \mbox{\hyperlink{group__Efreet__Desktop}{Efreet\+\_\+\+Desktop\+: The FDO Desktop Entry}} to access .desktop files \item \mbox{\hyperlink{group__Efreet__Menu}{Efreet\+\_\+\+Menu\+: The FDO Desktop Menu Specification}} to access menus of .desktop files \item \mbox{\hyperlink{group__Efreet__Mime}{Efreet\+\_\+\+Mime\+: The XDG Shared Mime Info standard}} to identify files based on extension or header. \item \mbox{\hyperlink{group__Efreet__Trash}{Efreet\+\_\+\+Trash\+: The XDG Trash Specification}} to access file trash implementation. \item \mbox{\hyperlink{structEfreet__Ini}{Efreet\+\_\+\+Ini}} for parsing INI-\/like key-\/value files. \item \mbox{\hyperlink{group__Efreet__Uri}{Efreet\+\_\+\+Uri\+: The FDO URI Specification functions}} for URI parsing and encoding. \item \mbox{\hyperlink{group__Efreet__Utils}{Efreet utilities for FDO}} general utilities. \end{DoxyItemize}
