\hypertarget{group__Elm__App}{}\doxysection{App}
\label{group__Elm__App}\index{App@{App}}
\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_ga2fab77e6331fe16cb7d4cb4800ce2ddb}{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_ga9a8953536a002809525f7699f9e03936}{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_gaff335edd418543d7fba447757c1da585}{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_ga471dc35475c84c81eb91108801d5d0c5}{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_gaebb58baebbfa5cc79ec0668293ee3623}{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_ga92a09dbf88cc1ca3eab51c51dea589d0}{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_ga387d986f89742ea5d5ee6453ba60996e}{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 N\+U\+LL} 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 N\+U\+LL} 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`\"{}\+M\+Y\+A\+P\+P\+\_\+\+P\+R\+E\+F\+I\+X\char`\"{}} as a master environment variable to specify the exact install prefix for the software, or more specific environment variables like {\ttfamily \char`\"{}\+M\+Y\+A\+P\+P\+\_\+\+B\+I\+N\+\_\+\+D\+I\+R\char`\"{}}, {\ttfamily \char`\"{}\+M\+Y\+A\+P\+P\+\_\+\+L\+I\+B\+\_\+\+D\+I\+R\char`\"{}}, {\ttfamily \char`\"{}\+M\+Y\+A\+P\+P\+\_\+\+D\+A\+T\+A\+\_\+\+D\+I\+R\char`\"{}} and {\ttfamily \char`\"{}\+M\+Y\+A\+P\+P\+\_\+\+L\+O\+C\+A\+L\+E\+\_\+\+D\+I\+R\char`\"{}}, which could be set by the user or scripts before launching. If not provided ({\ttfamily N\+U\+LL}), 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_gaff335edd418543d7fba447757c1da585}{elm\+\_\+app\+\_\+prefix\+\_\+dir\+\_\+get()}} 

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

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

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

\mbox{\hyperlink{group__Elm__App_ga387d986f89742ea5d5ee6453ba60996e}{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 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 eina\+\_\+stringshare\+\_\+replace().



Referenced by 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 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 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 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 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 eina\+\_\+stringshare\+\_\+replace().

\mbox{\Hypertarget{group__Elm__App_ga2fab77e6331fe16cb7d4cb4800ce2ddb}\label{group__Elm__App_ga2fab77e6331fe16cb7d4cb4800ce2ddb}} 
\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_ga9a8953536a002809525f7699f9e03936}\label{group__Elm__App_ga9a8953536a002809525f7699f9e03936}} 
\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_gaff335edd418543d7fba447757c1da585}\label{group__Elm__App_gaff335edd418543d7fba447757c1da585}} 
\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 eina\+\_\+prefix\+\_\+get().



Referenced by elm\+\_\+app\+\_\+data\+\_\+dir\+\_\+get().

\mbox{\Hypertarget{group__Elm__App_ga471dc35475c84c81eb91108801d5d0c5}\label{group__Elm__App_ga471dc35475c84c81eb91108801d5d0c5}} 
\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 eina\+\_\+prefix\+\_\+bin\+\_\+get().

\mbox{\Hypertarget{group__Elm__App_gaebb58baebbfa5cc79ec0668293ee3623}\label{group__Elm__App_gaebb58baebbfa5cc79ec0668293ee3623}} 
\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 eina\+\_\+prefix\+\_\+lib\+\_\+get().

\mbox{\Hypertarget{group__Elm__App_ga92a09dbf88cc1ca3eab51c51dea589d0}\label{group__Elm__App_ga92a09dbf88cc1ca3eab51c51dea589d0}} 
\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 eina\+\_\+prefix\+\_\+data\+\_\+get(), eina\+\_\+strbuf\+\_\+append(), eina\+\_\+strbuf\+\_\+append\+\_\+length(), eina\+\_\+strbuf\+\_\+free(), eina\+\_\+strbuf\+\_\+new(), eina\+\_\+strbuf\+\_\+string\+\_\+steal(), and elm\+\_\+app\+\_\+prefix\+\_\+dir\+\_\+get().



Referenced by elm\+\_\+prefs\+\_\+file\+\_\+set().

\mbox{\Hypertarget{group__Elm__App_ga387d986f89742ea5d5ee6453ba60996e}\label{group__Elm__App_ga387d986f89742ea5d5ee6453ba60996e}} 
\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 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 E\+L\+M\+\_\+\+S\+C\+A\+L\+E\+\_\+\+S\+I\+ZE 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}
