\hypertarget{group__Elm__App}{}\doxysection{App}
\label{group__Elm__App}\index{App@{App}}


Provide information in order to make Elementary determine the {\bfseries{run}} time location of the software in question, so other data files such as images, sound files, executable utilities, libraries, modules and locale files can be found.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set}} (void $\ast$mainfunc, const char $\ast$dom, const char $\ast$checkfile)
\begin{DoxyCompactList}\small\item\em Re-\/locate the application somewhere else after compilation, if the developer wishes for easier distribution of pre-\/compiled binaries. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__App_gaaf3c92bd231522a13036dc00d585be87}{elm\+\_\+app\+\_\+name\+\_\+set}} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Set a formal name to be used with the elm application. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__App_ga43d405c9c12c0765f10892944696819e}{elm\+\_\+app\+\_\+desktop\+\_\+entry\+\_\+set}} (const char $\ast$path)
\begin{DoxyCompactList}\small\item\em Set the path to the \textquotesingle{}.desktop\textquotesingle{} file to be associated with the elm application. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__App_gaedf0adf5c965a79a28f43b9c4cb49762}{elm\+\_\+app\+\_\+compile\+\_\+bin\+\_\+dir\+\_\+set}} (const char $\ast$dir)
\begin{DoxyCompactList}\small\item\em Provide information on the {\bfseries{fallback}} application\textquotesingle{}s binaries directory, in scenarios where they get overridden by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__App_ga9e553b1adb80795b58e101c28fc0adef}{elm\+\_\+app\+\_\+compile\+\_\+lib\+\_\+dir\+\_\+set}} (const char $\ast$dir)
\begin{DoxyCompactList}\small\item\em Provide information on the {\bfseries{fallback}} application\textquotesingle{}s libraries directory, on scenarios where they get overridden by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__App_ga4e875d27efb02b4c425619957c0ae7c7}{elm\+\_\+app\+\_\+compile\+\_\+data\+\_\+dir\+\_\+set}} (const char $\ast$dir)
\begin{DoxyCompactList}\small\item\em Provide information on the {\bfseries{fallback}} application\textquotesingle{}s data directory, on scenarios where they get overridden by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__App_ga3dfa8f300581e98d168fa7d7eea5c3d2}{elm\+\_\+app\+\_\+compile\+\_\+locale\+\_\+set}} (const char $\ast$dir)
\begin{DoxyCompactList}\small\item\em Provide information on the {\bfseries{fallback}} application\textquotesingle{}s locale directory, on scenarios where they get overridden by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}}. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Elm__App_ga10458067946b94242e870547057477ed}{elm\+\_\+app\+\_\+name\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Get the application formal name, as set by \mbox{\hyperlink{group__Elm__App_gaaf3c92bd231522a13036dc00d585be87}{elm\+\_\+app\+\_\+name\+\_\+set()}}. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Elm__App_ga83e383800f9c45b097ac761794b0de70}{elm\+\_\+app\+\_\+desktop\+\_\+entry\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Get the path to the \textquotesingle{}.desktop\textquotesingle{} file, as set by \mbox{\hyperlink{group__Elm__App_ga43d405c9c12c0765f10892944696819e}{elm\+\_\+app\+\_\+desktop\+\_\+entry\+\_\+set()}}. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Elm__App_gafae5f6ec500bc57ff474e8abe1bdb25a}{elm\+\_\+app\+\_\+prefix\+\_\+dir\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Get the application\textquotesingle{}s run time prefix directory, as set by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}} and the way (environment) the application was run from. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Elm__App_ga8782761ce61d2a86ddb7db565818cc81}{elm\+\_\+app\+\_\+bin\+\_\+dir\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Get the application\textquotesingle{}s run time binaries prefix directory, as set by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}} and the way (environment) the application was run from. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Elm__App_ga7b47caa13ef56e7bd9ea182cfc0a3f79}{elm\+\_\+app\+\_\+lib\+\_\+dir\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Get the application\textquotesingle{}s run time libraries prefix directory, as set by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}} and the way (environment) the application was run from. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Elm__App_gab10cf98c5aa3936dfda01d6bca366d09}{elm\+\_\+app\+\_\+data\+\_\+dir\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Get the application\textquotesingle{}s run time data prefix directory, as set by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}} and the way (environment) the application was run from. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Elm__App_gaea27758ca3ef67f220b71531fb6d5172}{elm\+\_\+app\+\_\+locale\+\_\+dir\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Get the application\textquotesingle{}s run time locale prefix directory, as set by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}} and the way (environment) the application was run from. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__App_gad381ea016b695af23321fbffbec2b1d3}{elm\+\_\+app\+\_\+base\+\_\+scale\+\_\+set}} (double base\+\_\+scale)
\begin{DoxyCompactList}\small\item\em Set the base scale of the application. \end{DoxyCompactList}\item 
double \mbox{\hyperlink{group__Elm__App_ga183df690a817eb0dfbe34d619c2d7fb9}{elm\+\_\+app\+\_\+base\+\_\+scale\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Get the base scale of the application. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Provide information in order to make Elementary determine the {\bfseries{run}} time location of the software in question, so other data files such as images, sound files, executable utilities, libraries, modules and locale files can be found. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}\label{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}} 
\index{App@{App}!elm\_app\_info\_set@{elm\_app\_info\_set}}
\index{elm\_app\_info\_set@{elm\_app\_info\_set}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_info\_set()}{elm\_app\_info\_set()}}
{\footnotesize\ttfamily void elm\+\_\+app\+\_\+info\+\_\+set (\begin{DoxyParamCaption}\item[{void $\ast$}]{mainfunc,  }\item[{const char $\ast$}]{dom,  }\item[{const char $\ast$}]{checkfile }\end{DoxyParamCaption})}



Re-\/locate the application somewhere else after compilation, if the developer wishes for easier distribution of pre-\/compiled binaries. 


\begin{DoxyParams}{Parameters}
{\em mainfunc} & This is your application\textquotesingle{}s main function name, whose binary\textquotesingle{}s location is to be found. Providing {\ttfamily NULL} will make Elementary not to use it \\
\hline
{\em dom} & This will be used as the application\textquotesingle{}s \char`\"{}domain\char`\"{}, in the form of a prefix to any environment variables that may override prefix detection and the directory name, inside the standard share or data directories, where the software\textquotesingle{}s data files will be looked for. \\
\hline
{\em checkfile} & This is an (optional) magic file\textquotesingle{}s path to check for existence (and it must be located in the data directory, under the share directory provided above). Its presence will help determine the prefix found was correct. Pass {\ttfamily NULL} if the check is not to be done.\\
\hline
\end{DoxyParams}
The prefix system is designed to locate where the given software is installed (under a common path prefix) at run time and then report specific locations of this prefix and common directories inside this prefix like the binary, library, data and locale directories, through the {\ttfamily elm\+\_\+app\+\_\+$\ast$\+\_\+get}() family of functions.

Call \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}} early on before you change working directory or anything about {\ttfamily argv}\mbox{[}0\mbox{]}, so it gets accurate information.

It will then try and trace back which file {\ttfamily mainfunc} comes from, if provided, to determine the application\textquotesingle{}s prefix directory.

The {\ttfamily dom} parameter provides a string prefix to prepend before environment variables, allowing a fallback to {\bfseries{specific}} environment variables to locate the software. You would most probably provide a lowercase string there, because it will also serve as directory domain, explained next. For environment variables purposes, this string is made uppercase. For example if {\ttfamily \char`\"{}myapp\char`\"{}} is provided as the prefix, then the program would expect {\ttfamily \char`\"{}\+MYAPP\+\_\+\+PREFIX\char`\"{}} as a master environment variable to specify the exact install prefix for the software, or more specific environment variables like {\ttfamily \char`\"{}\+MYAPP\+\_\+\+BIN\+\_\+\+DIR\char`\"{}}, {\ttfamily \char`\"{}\+MYAPP\+\_\+\+LIB\+\_\+\+DIR\char`\"{}}, {\ttfamily \char`\"{}\+MYAPP\+\_\+\+DATA\+\_\+\+DIR\char`\"{}} and {\ttfamily \char`\"{}\+MYAPP\+\_\+\+LOCALE\+\_\+\+DIR\char`\"{}}, which could be set by the user or scripts before launching. If not provided ({\ttfamily NULL}), environment variables will not be used to override compiled-\/in defaults or auto detections.

The {\ttfamily dom} string also provides a subdirectory inside the system shared data directory for data files. For example, if the system directory is {\ttfamily /usr/local/share}, then this directory name is appended, creating {\ttfamily /usr/local/share/myapp}, if it {\ttfamily was} {\ttfamily \char`\"{}myapp\char`\"{}}. It is expected that the application installs data files in this directory.

The {\ttfamily checkfile} is a file name or path of something inside the share or data directory to be used to test that the prefix detection worked. For example, your app will install a wallpaper image as {\ttfamily /usr/local/share/myapp/images/wallpaper}.jpg and so to check that this worked, provide {\ttfamily \char`\"{}images/wallpaper.\+jpg\char`\"{}} as the {\ttfamily checkfile} string.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__App_gaedf0adf5c965a79a28f43b9c4cb49762}{elm\+\_\+app\+\_\+compile\+\_\+bin\+\_\+dir\+\_\+set()}} 

\mbox{\hyperlink{group__Elm__App_ga9e553b1adb80795b58e101c28fc0adef}{elm\+\_\+app\+\_\+compile\+\_\+lib\+\_\+dir\+\_\+set()}} 

\mbox{\hyperlink{group__Elm__App_ga4e875d27efb02b4c425619957c0ae7c7}{elm\+\_\+app\+\_\+compile\+\_\+data\+\_\+dir\+\_\+set()}} 

\mbox{\hyperlink{group__Elm__App_ga3dfa8f300581e98d168fa7d7eea5c3d2}{elm\+\_\+app\+\_\+compile\+\_\+locale\+\_\+set()}} 

\mbox{\hyperlink{group__Elm__App_gafae5f6ec500bc57ff474e8abe1bdb25a}{elm\+\_\+app\+\_\+prefix\+\_\+dir\+\_\+get()}} 

\mbox{\hyperlink{group__Elm__App_ga8782761ce61d2a86ddb7db565818cc81}{elm\+\_\+app\+\_\+bin\+\_\+dir\+\_\+get()}} 

\mbox{\hyperlink{group__Elm__App_ga7b47caa13ef56e7bd9ea182cfc0a3f79}{elm\+\_\+app\+\_\+lib\+\_\+dir\+\_\+get()}} 

\mbox{\hyperlink{group__Elm__App_gab10cf98c5aa3936dfda01d6bca366d09}{elm\+\_\+app\+\_\+data\+\_\+dir\+\_\+get()}} 

\mbox{\hyperlink{group__Elm__App_gaea27758ca3ef67f220b71531fb6d5172}{elm\+\_\+app\+\_\+locale\+\_\+dir\+\_\+get()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{bg_example_02_8c-example}{bg\+\_\+example\+\_\+02.\+c}}, \mbox{\hyperlink{bg_example_03_8c-example}{bg\+\_\+example\+\_\+03.\+c}}, \mbox{\hyperlink{codegen_example_8c-example}{codegen\+\_\+example.\+c}}, \mbox{\hyperlink{general_funcs_example_8c-example}{general\+\_\+funcs\+\_\+example.\+c}}, \mbox{\hyperlink{gengrid_example_8c-example}{gengrid\+\_\+example.\+c}}, \mbox{\hyperlink{image_example_01_8c-example}{image\+\_\+example\+\_\+01.\+c}}, \mbox{\hyperlink{index_example_02_8c-example}{index\+\_\+example\+\_\+02.\+c}}, \mbox{\hyperlink{layout_example_01_8c-example}{layout\+\_\+example\+\_\+01.\+c}}, \mbox{\hyperlink{layout_example_03_8c-example}{layout\+\_\+example\+\_\+03.\+c}}, \mbox{\hyperlink{map_example_02_8c-example}{map\+\_\+example\+\_\+02.\+c}}, \mbox{\hyperlink{photocam_example_01_8c-example}{photocam\+\_\+example\+\_\+01.\+c}}, \mbox{\hyperlink{popup_example_02_8c-example}{popup\+\_\+example\+\_\+02.\+c}}, \mbox{\hyperlink{popup_example_03_8c-example}{popup\+\_\+example\+\_\+03.\+c}}, \mbox{\hyperlink{progressbar_example_8c-example}{progressbar\+\_\+example.\+c}}, \mbox{\hyperlink{slideshow_example_8c-example}{slideshow\+\_\+example.\+c}}, \mbox{\hyperlink{theme_example_01_8c-example}{theme\+\_\+example\+\_\+01.\+c}}, \mbox{\hyperlink{theme_example_02_8c-example}{theme\+\_\+example\+\_\+02.\+c}}, \mbox{\hyperlink{thumb_example_01_8c-example}{thumb\+\_\+example\+\_\+01.\+c}}, \mbox{\hyperlink{transit_example_03_8c-example}{transit\+\_\+example\+\_\+03.\+c}}, \mbox{\hyperlink{transit_example_04_8c-example}{transit\+\_\+example\+\_\+04.\+c}}, and \mbox{\hyperlink{win_example_8c-example}{win\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}.

\mbox{\Hypertarget{group__Elm__App_gaaf3c92bd231522a13036dc00d585be87}\label{group__Elm__App_gaaf3c92bd231522a13036dc00d585be87}} 
\index{App@{App}!elm\_app\_name\_set@{elm\_app\_name\_set}}
\index{elm\_app\_name\_set@{elm\_app\_name\_set}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_name\_set()}{elm\_app\_name\_set()}}
{\footnotesize\ttfamily void elm\+\_\+app\+\_\+name\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



Set a formal name to be used with the elm application. 


\begin{DoxyParams}{Parameters}
{\em name} & Application name.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}.



Referenced by \mbox{\hyperlink{group__Elm__General_gab31fb3af2f25295fea1eb05f69724eb5}{elm\+\_\+quicklaunch\+\_\+init()}}.

\mbox{\Hypertarget{group__Elm__App_ga43d405c9c12c0765f10892944696819e}\label{group__Elm__App_ga43d405c9c12c0765f10892944696819e}} 
\index{App@{App}!elm\_app\_desktop\_entry\_set@{elm\_app\_desktop\_entry\_set}}
\index{elm\_app\_desktop\_entry\_set@{elm\_app\_desktop\_entry\_set}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_desktop\_entry\_set()}{elm\_app\_desktop\_entry\_set()}}
{\footnotesize\ttfamily void elm\+\_\+app\+\_\+desktop\+\_\+entry\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{path }\end{DoxyParamCaption})}



Set the path to the \textquotesingle{}.desktop\textquotesingle{} file to be associated with the elm application. 


\begin{DoxyParams}{Parameters}
{\em path} & The path to the \textquotesingle{}.desktop\textquotesingle{} file\\
\hline
\end{DoxyParams}
\begin{DoxyWarning}{Warning}
Since this path is very environment dependent, this will hold whatever value is passed to it.
\end{DoxyWarning}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}.

\mbox{\Hypertarget{group__Elm__App_gaedf0adf5c965a79a28f43b9c4cb49762}\label{group__Elm__App_gaedf0adf5c965a79a28f43b9c4cb49762}} 
\index{App@{App}!elm\_app\_compile\_bin\_dir\_set@{elm\_app\_compile\_bin\_dir\_set}}
\index{elm\_app\_compile\_bin\_dir\_set@{elm\_app\_compile\_bin\_dir\_set}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_compile\_bin\_dir\_set()}{elm\_app\_compile\_bin\_dir\_set()}}
{\footnotesize\ttfamily void elm\+\_\+app\+\_\+compile\+\_\+bin\+\_\+dir\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{dir }\end{DoxyParamCaption})}



Provide information on the {\bfseries{fallback}} application\textquotesingle{}s binaries directory, in scenarios where they get overridden by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}}. 


\begin{DoxyParams}{Parameters}
{\em dir} & The path to the default binaries directory (compile time one)\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
Elementary will as well use this path to determine actual names of binaries\textquotesingle{} directory paths, maybe changing it to be {\ttfamily something/local/bin} instead of {\ttfamily something/bin}, only, for example.
\end{DoxyNote}
\begin{DoxyWarning}{Warning}
You should call this function {\bfseries{before}} \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}}. 
\end{DoxyWarning}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{general_funcs_example_8c-example}{general\+\_\+funcs\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}.

\mbox{\Hypertarget{group__Elm__App_ga9e553b1adb80795b58e101c28fc0adef}\label{group__Elm__App_ga9e553b1adb80795b58e101c28fc0adef}} 
\index{App@{App}!elm\_app\_compile\_lib\_dir\_set@{elm\_app\_compile\_lib\_dir\_set}}
\index{elm\_app\_compile\_lib\_dir\_set@{elm\_app\_compile\_lib\_dir\_set}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_compile\_lib\_dir\_set()}{elm\_app\_compile\_lib\_dir\_set()}}
{\footnotesize\ttfamily void elm\+\_\+app\+\_\+compile\+\_\+lib\+\_\+dir\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{dir }\end{DoxyParamCaption})}



Provide information on the {\bfseries{fallback}} application\textquotesingle{}s libraries directory, on scenarios where they get overridden by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}}. 


\begin{DoxyParams}{Parameters}
{\em dir} & The path to the default libraries directory (compile time one)\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
Elementary will as well use this path to determine actual names of libraries\textquotesingle{} directory paths, maybe changing it to be {\ttfamily something/lib32} or {\ttfamily something/lib64} instead of {\ttfamily something/lib}, only, for example.
\end{DoxyNote}
\begin{DoxyWarning}{Warning}
You should call this function {\bfseries{before}} \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}}. 
\end{DoxyWarning}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{general_funcs_example_8c-example}{general\+\_\+funcs\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}.

\mbox{\Hypertarget{group__Elm__App_ga4e875d27efb02b4c425619957c0ae7c7}\label{group__Elm__App_ga4e875d27efb02b4c425619957c0ae7c7}} 
\index{App@{App}!elm\_app\_compile\_data\_dir\_set@{elm\_app\_compile\_data\_dir\_set}}
\index{elm\_app\_compile\_data\_dir\_set@{elm\_app\_compile\_data\_dir\_set}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_compile\_data\_dir\_set()}{elm\_app\_compile\_data\_dir\_set()}}
{\footnotesize\ttfamily void elm\+\_\+app\+\_\+compile\+\_\+data\+\_\+dir\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{dir }\end{DoxyParamCaption})}



Provide information on the {\bfseries{fallback}} application\textquotesingle{}s data directory, on scenarios where they get overridden by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}}. 


\begin{DoxyParams}{Parameters}
{\em dir} & The path to the default data directory (compile time one)\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
Elementary will as well use this path to determine actual names of data directory paths, maybe changing it to be {\ttfamily something/local/share} instead of {\ttfamily something/share}, only, for example.
\end{DoxyNote}
\begin{DoxyWarning}{Warning}
You should call this function {\bfseries{before}} \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}}. 
\end{DoxyWarning}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{general_funcs_example_8c-example}{general\+\_\+funcs\+\_\+example.\+c}}, \mbox{\hyperlink{theme_example_01_8c-example}{theme\+\_\+example\+\_\+01.\+c}}, and \mbox{\hyperlink{theme_example_02_8c-example}{theme\+\_\+example\+\_\+02.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}.

\mbox{\Hypertarget{group__Elm__App_ga3dfa8f300581e98d168fa7d7eea5c3d2}\label{group__Elm__App_ga3dfa8f300581e98d168fa7d7eea5c3d2}} 
\index{App@{App}!elm\_app\_compile\_locale\_set@{elm\_app\_compile\_locale\_set}}
\index{elm\_app\_compile\_locale\_set@{elm\_app\_compile\_locale\_set}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_compile\_locale\_set()}{elm\_app\_compile\_locale\_set()}}
{\footnotesize\ttfamily void elm\+\_\+app\+\_\+compile\+\_\+locale\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{dir }\end{DoxyParamCaption})}



Provide information on the {\bfseries{fallback}} application\textquotesingle{}s locale directory, on scenarios where they get overridden by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}}. 


\begin{DoxyParams}{Parameters}
{\em dir} & The path to the default locale directory (compile time one)\\
\hline
\end{DoxyParams}
\begin{DoxyWarning}{Warning}
You should call this function {\bfseries{before}} \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}}. 
\end{DoxyWarning}


References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}.

\mbox{\Hypertarget{group__Elm__App_ga10458067946b94242e870547057477ed}\label{group__Elm__App_ga10458067946b94242e870547057477ed}} 
\index{App@{App}!elm\_app\_name\_get@{elm\_app\_name\_get}}
\index{elm\_app\_name\_get@{elm\_app\_name\_get}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_name\_get()}{elm\_app\_name\_get()}}
{\footnotesize\ttfamily const char $\ast$ elm\+\_\+app\+\_\+name\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the application formal name, as set by \mbox{\hyperlink{group__Elm__App_gaaf3c92bd231522a13036dc00d585be87}{elm\+\_\+app\+\_\+name\+\_\+set()}}. 

\begin{DoxyReturn}{Returns}
The application formal name.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__App_ga83e383800f9c45b097ac761794b0de70}\label{group__Elm__App_ga83e383800f9c45b097ac761794b0de70}} 
\index{App@{App}!elm\_app\_desktop\_entry\_get@{elm\_app\_desktop\_entry\_get}}
\index{elm\_app\_desktop\_entry\_get@{elm\_app\_desktop\_entry\_get}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_desktop\_entry\_get()}{elm\_app\_desktop\_entry\_get()}}
{\footnotesize\ttfamily const char $\ast$ elm\+\_\+app\+\_\+desktop\+\_\+entry\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the path to the \textquotesingle{}.desktop\textquotesingle{} file, as set by \mbox{\hyperlink{group__Elm__App_ga43d405c9c12c0765f10892944696819e}{elm\+\_\+app\+\_\+desktop\+\_\+entry\+\_\+set()}}. 

\begin{DoxyReturn}{Returns}
The \textquotesingle{}.desktop\textquotesingle{} file path.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__App_gafae5f6ec500bc57ff474e8abe1bdb25a}\label{group__Elm__App_gafae5f6ec500bc57ff474e8abe1bdb25a}} 
\index{App@{App}!elm\_app\_prefix\_dir\_get@{elm\_app\_prefix\_dir\_get}}
\index{elm\_app\_prefix\_dir\_get@{elm\_app\_prefix\_dir\_get}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_prefix\_dir\_get()}{elm\_app\_prefix\_dir\_get()}}
{\footnotesize\ttfamily const char $\ast$ elm\+\_\+app\+\_\+prefix\+\_\+dir\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the application\textquotesingle{}s run time prefix directory, as set by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}} and the way (environment) the application was run from. 

\begin{DoxyReturn}{Returns}
The directory prefix the application is actually using. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{general_funcs_example_8c-example}{general\+\_\+funcs\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Prefix__Group_ga00cf5ad4a7ac2e77d5fdf7ba8bed2932}{eina\+\_\+prefix\+\_\+get()}}.



Referenced by \mbox{\hyperlink{group__Elm__App_gab10cf98c5aa3936dfda01d6bca366d09}{elm\+\_\+app\+\_\+data\+\_\+dir\+\_\+get()}}.

\mbox{\Hypertarget{group__Elm__App_ga8782761ce61d2a86ddb7db565818cc81}\label{group__Elm__App_ga8782761ce61d2a86ddb7db565818cc81}} 
\index{App@{App}!elm\_app\_bin\_dir\_get@{elm\_app\_bin\_dir\_get}}
\index{elm\_app\_bin\_dir\_get@{elm\_app\_bin\_dir\_get}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_bin\_dir\_get()}{elm\_app\_bin\_dir\_get()}}
{\footnotesize\ttfamily const char $\ast$ elm\+\_\+app\+\_\+bin\+\_\+dir\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the application\textquotesingle{}s run time binaries prefix directory, as set by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}} and the way (environment) the application was run from. 

\begin{DoxyReturn}{Returns}
The binaries directory prefix the application is actually using. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Prefix__Group_ga5974c10f03f11e1d7e8ada2422da7709}{eina\+\_\+prefix\+\_\+bin\+\_\+get()}}.

\mbox{\Hypertarget{group__Elm__App_ga7b47caa13ef56e7bd9ea182cfc0a3f79}\label{group__Elm__App_ga7b47caa13ef56e7bd9ea182cfc0a3f79}} 
\index{App@{App}!elm\_app\_lib\_dir\_get@{elm\_app\_lib\_dir\_get}}
\index{elm\_app\_lib\_dir\_get@{elm\_app\_lib\_dir\_get}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_lib\_dir\_get()}{elm\_app\_lib\_dir\_get()}}
{\footnotesize\ttfamily const char $\ast$ elm\+\_\+app\+\_\+lib\+\_\+dir\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the application\textquotesingle{}s run time libraries prefix directory, as set by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}} and the way (environment) the application was run from. 

\begin{DoxyReturn}{Returns}
The libraries directory prefix the application is actually using. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{general_funcs_example_8c-example}{general\+\_\+funcs\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Prefix__Group_gad6442c6f5c8428a31802ac37434d69bd}{eina\+\_\+prefix\+\_\+lib\+\_\+get()}}.

\mbox{\Hypertarget{group__Elm__App_gab10cf98c5aa3936dfda01d6bca366d09}\label{group__Elm__App_gab10cf98c5aa3936dfda01d6bca366d09}} 
\index{App@{App}!elm\_app\_data\_dir\_get@{elm\_app\_data\_dir\_get}}
\index{elm\_app\_data\_dir\_get@{elm\_app\_data\_dir\_get}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_data\_dir\_get()}{elm\_app\_data\_dir\_get()}}
{\footnotesize\ttfamily const char $\ast$ elm\+\_\+app\+\_\+data\+\_\+dir\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the application\textquotesingle{}s run time data prefix directory, as set by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}} and the way (environment) the application was run from. 

\begin{DoxyReturn}{Returns}
The data directory prefix the application is actually using. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{bg_example_02_8c-example}{bg\+\_\+example\+\_\+02.\+c}}, \mbox{\hyperlink{bg_example_03_8c-example}{bg\+\_\+example\+\_\+03.\+c}}, \mbox{\hyperlink{general_funcs_example_8c-example}{general\+\_\+funcs\+\_\+example.\+c}}, \mbox{\hyperlink{gengrid_example_8c-example}{gengrid\+\_\+example.\+c}}, \mbox{\hyperlink{image_example_01_8c-example}{image\+\_\+example\+\_\+01.\+c}}, \mbox{\hyperlink{index_example_02_8c-example}{index\+\_\+example\+\_\+02.\+c}}, \mbox{\hyperlink{layout_example_01_8c-example}{layout\+\_\+example\+\_\+01.\+c}}, \mbox{\hyperlink{layout_example_03_8c-example}{layout\+\_\+example\+\_\+03.\+c}}, \mbox{\hyperlink{map_example_02_8c-example}{map\+\_\+example\+\_\+02.\+c}}, \mbox{\hyperlink{photocam_example_01_8c-example}{photocam\+\_\+example\+\_\+01.\+c}}, \mbox{\hyperlink{popup_example_02_8c-example}{popup\+\_\+example\+\_\+02.\+c}}, \mbox{\hyperlink{popup_example_03_8c-example}{popup\+\_\+example\+\_\+03.\+c}}, \mbox{\hyperlink{progressbar_example_8c-example}{progressbar\+\_\+example.\+c}}, \mbox{\hyperlink{slideshow_example_8c-example}{slideshow\+\_\+example.\+c}}, \mbox{\hyperlink{theme_example_01_8c-example}{theme\+\_\+example\+\_\+01.\+c}}, \mbox{\hyperlink{theme_example_02_8c-example}{theme\+\_\+example\+\_\+02.\+c}}, \mbox{\hyperlink{thumb_example_01_8c-example}{thumb\+\_\+example\+\_\+01.\+c}}, \mbox{\hyperlink{transit_example_03_8c-example}{transit\+\_\+example\+\_\+03.\+c}}, \mbox{\hyperlink{transit_example_04_8c-example}{transit\+\_\+example\+\_\+04.\+c}}, and \mbox{\hyperlink{win_example_8c-example}{win\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Prefix__Group_ga23d85bc49fcbde16b390a14de82d7c05}{eina\+\_\+prefix\+\_\+data\+\_\+get()}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_gad476e89a04c3f1571e3628facd4319bb}{eina\+\_\+strbuf\+\_\+append()}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_gaafc0d73b12be5e1953cf1a417560cbea}{eina\+\_\+strbuf\+\_\+append\+\_\+length()}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_ga88d8da6589bad44714ad9e47aaa1992b}{eina\+\_\+strbuf\+\_\+free()}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_ga13277ebcc07defa040d6e92f22774031}{eina\+\_\+strbuf\+\_\+new()}}, \mbox{\hyperlink{group__Eina__String__Buffer__Group_ga7b0e6d5602d5711a208a585134b3387f}{eina\+\_\+strbuf\+\_\+string\+\_\+steal()}}, and \mbox{\hyperlink{group__Elm__App_gafae5f6ec500bc57ff474e8abe1bdb25a}{elm\+\_\+app\+\_\+prefix\+\_\+dir\+\_\+get()}}.



Referenced by \mbox{\hyperlink{group__Elm__Prefs_gaec5a0c4ea7f8e54909c5cdbc05e9b064}{elm\+\_\+prefs\+\_\+file\+\_\+set()}}.

\mbox{\Hypertarget{group__Elm__App_gaea27758ca3ef67f220b71531fb6d5172}\label{group__Elm__App_gaea27758ca3ef67f220b71531fb6d5172}} 
\index{App@{App}!elm\_app\_locale\_dir\_get@{elm\_app\_locale\_dir\_get}}
\index{elm\_app\_locale\_dir\_get@{elm\_app\_locale\_dir\_get}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_locale\_dir\_get()}{elm\_app\_locale\_dir\_get()}}
{\footnotesize\ttfamily const char $\ast$ elm\+\_\+app\+\_\+locale\+\_\+dir\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the application\textquotesingle{}s run time locale prefix directory, as set by \mbox{\hyperlink{group__Elm__App_ga0cefb59efb95841232561d67e34d9909}{elm\+\_\+app\+\_\+info\+\_\+set()}} and the way (environment) the application was run from. 

\begin{DoxyReturn}{Returns}
The locale directory prefix the application is actually using. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{general_funcs_example_8c-example}{general\+\_\+funcs\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Prefix__Group_ga3aba9663be5b7787e17911a1d9dc554b}{eina\+\_\+prefix\+\_\+locale\+\_\+get()}}.

\mbox{\Hypertarget{group__Elm__App_gad381ea016b695af23321fbffbec2b1d3}\label{group__Elm__App_gad381ea016b695af23321fbffbec2b1d3}} 
\index{App@{App}!elm\_app\_base\_scale\_set@{elm\_app\_base\_scale\_set}}
\index{elm\_app\_base\_scale\_set@{elm\_app\_base\_scale\_set}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_base\_scale\_set()}{elm\_app\_base\_scale\_set()}}
{\footnotesize\ttfamily void elm\+\_\+app\+\_\+base\+\_\+scale\+\_\+set (\begin{DoxyParamCaption}\item[{double}]{base\+\_\+scale }\end{DoxyParamCaption})}



Set the base scale of the application. 


\begin{DoxyParams}{Parameters}
{\em base\+\_\+scale} & The scale that the application is made on the basis of.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
The scale is used for the application to be scaled. If the application isn\textquotesingle{}t made on the basis of scale 1.\+0, the application layout will be scaled inappositely. So if the application set the base scale, it is applied when the application is scaled.

You should call this function {\bfseries{before}} using ELM\+\_\+\+SCALE\+\_\+\+SIZE macro.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+12 
\end{DoxySince}
\mbox{\Hypertarget{group__Elm__App_ga183df690a817eb0dfbe34d619c2d7fb9}\label{group__Elm__App_ga183df690a817eb0dfbe34d619c2d7fb9}} 
\index{App@{App}!elm\_app\_base\_scale\_get@{elm\_app\_base\_scale\_get}}
\index{elm\_app\_base\_scale\_get@{elm\_app\_base\_scale\_get}!App@{App}}
\doxysubsubsection{\texorpdfstring{elm\_app\_base\_scale\_get()}{elm\_app\_base\_scale\_get()}}
{\footnotesize\ttfamily double elm\+\_\+app\+\_\+base\+\_\+scale\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get the base scale of the application. 

\begin{DoxyReturn}{Returns}
The base scale which the application sets.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+12 
\end{DoxySince}
