\section{Elementary Profile}
\label{group__Profile}\index{Elementary Profile@{Elementary Profile}}


Profiles are pre-\/set options that affect the whole look-\/and-\/feel of Elementary-\/based applications.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ \hyperlink{group__Profile_gaa7f90ba4d4502690ee84a08fa9494b9d}{elm\+\_\+config\+\_\+profile\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get Elementary's profile in use. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Profile_gaded09ffdb2cf409f2c1d84811b15a2c3}{elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+get} (const char $\ast$profile, Eina\+\_\+\+Bool is\+\_\+user)
\begin{DoxyCompactList}\small\item\em Get an Elementary's profile directory path in the filesystem. \end{DoxyCompactList}\item 
void \hyperlink{group__Profile_gab26c330a4eae7e190984cc1638947341}{elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+free} (const char $\ast$p\+\_\+dir)
\begin{DoxyCompactList}\small\item\em Free an Elementary's profile directory path, as returned by \hyperlink{group__Profile_gaded09ffdb2cf409f2c1d84811b15a2c3}{elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+get()}. \end{DoxyCompactList}\item 
Eina\+\_\+\+List $\ast$ \hyperlink{group__Profile_ga17d23afcf0e30b1844513405fc9ae81f}{elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Get Elementary's list of available profiles. \end{DoxyCompactList}\item 
void \hyperlink{group__Profile_gae312204c4dd4ec927748665b784b621b}{elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+free} (Eina\+\_\+\+List $\ast$l)
\begin{DoxyCompactList}\small\item\em Free Elementary's list of available profiles. \end{DoxyCompactList}\item 
void \hyperlink{group__Profile_gafedf998f8887c1b51b2ea9a969dbad8c}{elm\+\_\+config\+\_\+profile\+\_\+set} (const char $\ast$profile)
\begin{DoxyCompactList}\small\item\em Set Elementary's profile. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Profiles are pre-\/set options that affect the whole look-\/and-\/feel of Elementary-\/based applications. 

There are, for example, profiles aimed at desktop computer applications and others aimed at mobile, touchscreen-\/based ones. You most probably don't want to use the functions in this group unless you're writing an elementary configuration manager. 

\subsection{Function Documentation}
\index{Elementary Profile@{Elementary Profile}!elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+free@{elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+free}}
\index{elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+free@{elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+free}!Elementary Profile@{Elementary Profile}}
\subsubsection[{elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+free (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{p\+\_\+dir}
\end{DoxyParamCaption}
)}\label{group__Profile_gab26c330a4eae7e190984cc1638947341}


Free an Elementary's profile directory path, as returned by \hyperlink{group__Profile_gaded09ffdb2cf409f2c1d84811b15a2c3}{elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+get()}. 


\begin{DoxyParams}{Parameters}
{\em p\+\_\+dir} & The profile's path \\
\hline
\end{DoxyParams}
\index{Elementary Profile@{Elementary Profile}!elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+get@{elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+get}}
\index{elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+get@{elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+get}!Elementary Profile@{Elementary Profile}}
\subsubsection[{elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+get (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{profile, }
\item[{Eina\+\_\+\+Bool}]{is\+\_\+user}
\end{DoxyParamCaption}
)}\label{group__Profile_gaded09ffdb2cf409f2c1d84811b15a2c3}


Get an Elementary's profile directory path in the filesystem. 

One may want to fetch a system profile's dir or a user one (fetched inside \$\+H\+O\+M\+E).


\begin{DoxyParams}{Parameters}
{\em profile} & The profile's name \\
\hline
{\em is\+\_\+user} & Whether to lookup for a user profile ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}) or a system one ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The profile's directory path.
\end{DoxyReturn}
\begin{DoxyNote}{Note}
You must free it with \hyperlink{group__Profile_gab26c330a4eae7e190984cc1638947341}{elm\+\_\+config\+\_\+profile\+\_\+dir\+\_\+free()}. 
\end{DoxyNote}
\index{Elementary Profile@{Elementary Profile}!elm\+\_\+config\+\_\+profile\+\_\+get@{elm\+\_\+config\+\_\+profile\+\_\+get}}
\index{elm\+\_\+config\+\_\+profile\+\_\+get@{elm\+\_\+config\+\_\+profile\+\_\+get}!Elementary Profile@{Elementary Profile}}
\subsubsection[{elm\+\_\+config\+\_\+profile\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ elm\+\_\+config\+\_\+profile\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Profile_gaa7f90ba4d4502690ee84a08fa9494b9d}


Get Elementary's profile in use. 

This gets the global profile that is applied to all Elementary applications.

\begin{DoxyReturn}{Returns}
The profile's name 
\end{DoxyReturn}
\index{Elementary Profile@{Elementary Profile}!elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+free@{elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+free}}
\index{elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+free@{elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+free}!Elementary Profile@{Elementary Profile}}
\subsubsection[{elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+free (
\begin{DoxyParamCaption}
\item[{Eina\+\_\+\+List $\ast$}]{l}
\end{DoxyParamCaption}
)}\label{group__Profile_gae312204c4dd4ec927748665b784b621b}


Free Elementary's list of available profiles. 


\begin{DoxyParams}{Parameters}
{\em l} & The profiles list, as returned by \hyperlink{group__Profile_ga17d23afcf0e30b1844513405fc9ae81f}{elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+get()}. \\
\hline
\end{DoxyParams}
\index{Elementary Profile@{Elementary Profile}!elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+get@{elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+get}}
\index{elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+get@{elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+get}!Elementary Profile@{Elementary Profile}}
\subsubsection[{elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Eina\+\_\+\+List$\ast$ elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Profile_ga17d23afcf0e30b1844513405fc9ae81f}


Get Elementary's list of available profiles. 

\begin{DoxyReturn}{Returns}
The profiles list. List node data are the profile name strings.
\end{DoxyReturn}
\begin{DoxyNote}{Note}
One must free this list, after usage, with the function \hyperlink{group__Profile_gae312204c4dd4ec927748665b784b621b}{elm\+\_\+config\+\_\+profile\+\_\+list\+\_\+free()}. 
\end{DoxyNote}
\index{Elementary Profile@{Elementary Profile}!elm\+\_\+config\+\_\+profile\+\_\+set@{elm\+\_\+config\+\_\+profile\+\_\+set}}
\index{elm\+\_\+config\+\_\+profile\+\_\+set@{elm\+\_\+config\+\_\+profile\+\_\+set}!Elementary Profile@{Elementary Profile}}
\subsubsection[{elm\+\_\+config\+\_\+profile\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\+\_\+config\+\_\+profile\+\_\+set (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{profile}
\end{DoxyParamCaption}
)}\label{group__Profile_gafedf998f8887c1b51b2ea9a969dbad8c}


Set Elementary's profile. 

This sets the global profile that is applied to Elementary applications. Just the process the call comes from will be affected.


\begin{DoxyParams}{Parameters}
{\em profile} & The profile's name \\
\hline
\end{DoxyParams}
