\hypertarget{group__Ecore__Application__Group}{}\doxysection{Ecore Application functions}
\label{group__Ecore__Application__Group}\index{Ecore Application functions@{Ecore Application functions}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{group__Ecore__Application__Group_ga70bce8ffb6e2dc2c0fdab005d566532e}{ecore\+\_\+app\+\_\+args\+\_\+set}} (int argc, const char $\ast$$\ast$argv)
\begin{DoxyCompactList}\small\item\em Sets up the programs command-\/line arguments. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Application__Group_ga2e13fe851572f741f63bbe80b8db7684}{ecore\+\_\+app\+\_\+args\+\_\+get}} (int $\ast$argc, char $\ast$$\ast$$\ast$argv)
\begin{DoxyCompactList}\small\item\em Returns the programs stored command-\/line arguments. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Application__Group_ga7ad251bcf12a6816d3078cedc70dd112}{ecore\+\_\+app\+\_\+restart}} (void)
\begin{DoxyCompactList}\small\item\em Restarts the program executable with the command-\/line arguments stored. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Application__Group_ga4c9d4ad5ae198a60bf1a5cb49f74de67}{ecore\+\_\+app\+\_\+no\+\_\+system\+\_\+modules}} (void)
\begin{DoxyCompactList}\small\item\em Do not load system modules for this application. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Ecore__Application__Group_ga70bce8ffb6e2dc2c0fdab005d566532e}\label{group__Ecore__Application__Group_ga70bce8ffb6e2dc2c0fdab005d566532e}} 
\index{Ecore Application functions@{Ecore Application functions}!ecore\_app\_args\_set@{ecore\_app\_args\_set}}
\index{ecore\_app\_args\_set@{ecore\_app\_args\_set}!Ecore Application functions@{Ecore Application functions}}
\doxysubsubsection{\texorpdfstring{ecore\_app\_args\_set()}{ecore\_app\_args\_set()}}
{\footnotesize\ttfamily void ecore\+\_\+app\+\_\+args\+\_\+set (\begin{DoxyParamCaption}\item[{int}]{argc,  }\item[{const char $\ast$$\ast$}]{argv }\end{DoxyParamCaption})}



Sets up the programs command-\/line arguments. 


\begin{DoxyParams}{Parameters}
{\em argc} & The same as passed as argc to the programs main() function \\
\hline
{\em argv} & The same as passed as argv to the programs main() function\\
\hline
\end{DoxyParams}
A call to this function will store the programs command-\/line arguments for later use by \mbox{\hyperlink{group__Ecore__Application__Group_ga7ad251bcf12a6816d3078cedc70dd112}{ecore\+\_\+app\+\_\+restart()}} or \mbox{\hyperlink{group__Ecore__Application__Group_ga2e13fe851572f741f63bbe80b8db7684}{ecore\+\_\+app\+\_\+args\+\_\+get()}}. 

References \mbox{\hyperlink{group__Eina__Lock__Group_ga6900a2b986f5536b73210e2560675cb0}{EINA\+\_\+\+MAIN\+\_\+\+LOOP\+\_\+\+CHECK\+\_\+\+RETURN}}.



Referenced by \mbox{\hyperlink{group__Ecore__Init__Group_gaa999d9816d58d5119c3390c49878e5d8}{ecore\+\_\+init\+\_\+ex()}}, and \mbox{\hyperlink{group__Elm__General_ga88f19204bf05c03f7dbdf632776e0773}{elm\+\_\+quicklaunch\+\_\+fork()}}.

\mbox{\Hypertarget{group__Ecore__Application__Group_ga2e13fe851572f741f63bbe80b8db7684}\label{group__Ecore__Application__Group_ga2e13fe851572f741f63bbe80b8db7684}} 
\index{Ecore Application functions@{Ecore Application functions}!ecore\_app\_args\_get@{ecore\_app\_args\_get}}
\index{ecore\_app\_args\_get@{ecore\_app\_args\_get}!Ecore Application functions@{Ecore Application functions}}
\doxysubsubsection{\texorpdfstring{ecore\_app\_args\_get()}{ecore\_app\_args\_get()}}
{\footnotesize\ttfamily void ecore\+\_\+app\+\_\+args\+\_\+get (\begin{DoxyParamCaption}\item[{int $\ast$}]{argc,  }\item[{char $\ast$$\ast$$\ast$}]{argv }\end{DoxyParamCaption})}



Returns the programs stored command-\/line arguments. 


\begin{DoxyParams}{Parameters}
{\em argc} & A pointer to the return value to hold argc \\
\hline
{\em argv} & A pointer to the return value to hold argv\\
\hline
\end{DoxyParams}
When called, this function returns the arguments for the program stored by \mbox{\hyperlink{group__Ecore__Application__Group_ga70bce8ffb6e2dc2c0fdab005d566532e}{ecore\+\_\+app\+\_\+args\+\_\+set()}}. The integer pointed to by {\ttfamily argc} will be filled, if the pointer is not NULL, and the string array pointer {\ttfamily argv} will be filled also if the pointer is not NULL. The values they are filled with will be the same set by \mbox{\hyperlink{group__Ecore__Application__Group_ga70bce8ffb6e2dc2c0fdab005d566532e}{ecore\+\_\+app\+\_\+args\+\_\+set()}}. 

References \mbox{\hyperlink{group__Eina__Lock__Group_ga6900a2b986f5536b73210e2560675cb0}{EINA\+\_\+\+MAIN\+\_\+\+LOOP\+\_\+\+CHECK\+\_\+\+RETURN}}.



Referenced by \mbox{\hyperlink{group__Ecore__Getopt__Group_gab9fb5bf2f2edd9bd3a3519faa8e3ebfa}{ecore\+\_\+getopt\+\_\+parse()}}, \mbox{\hyperlink{group__Ecore__Getopt__Group_ga9870510212af9a71d94fc0f8461cff79}{ecore\+\_\+getopt\+\_\+parse\+\_\+positional()}}, and \mbox{\hyperlink{group__Ecore__X__Window__Properties__Group_gaa513113d5d14c476b824515f3c6b4be0}{ecore\+\_\+x\+\_\+window\+\_\+defaults\+\_\+set()}}.

\mbox{\Hypertarget{group__Ecore__Application__Group_ga7ad251bcf12a6816d3078cedc70dd112}\label{group__Ecore__Application__Group_ga7ad251bcf12a6816d3078cedc70dd112}} 
\index{Ecore Application functions@{Ecore Application functions}!ecore\_app\_restart@{ecore\_app\_restart}}
\index{ecore\_app\_restart@{ecore\_app\_restart}!Ecore Application functions@{Ecore Application functions}}
\doxysubsubsection{\texorpdfstring{ecore\_app\_restart()}{ecore\_app\_restart()}}
{\footnotesize\ttfamily void ecore\+\_\+app\+\_\+restart (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Restarts the program executable with the command-\/line arguments stored. 

This function will restart \& re-\/execute this program in place of itself using the command-\/line arguments stored by \mbox{\hyperlink{group__Ecore__Application__Group_ga70bce8ffb6e2dc2c0fdab005d566532e}{ecore\+\_\+app\+\_\+args\+\_\+set()}}. This is an easy way for a program to restart itself for cleanup purposes, configuration reasons or in the event of a crash. 

References \mbox{\hyperlink{group__Eina__Lock__Group_ga6900a2b986f5536b73210e2560675cb0}{EINA\+\_\+\+MAIN\+\_\+\+LOOP\+\_\+\+CHECK\+\_\+\+RETURN}}.

\mbox{\Hypertarget{group__Ecore__Application__Group_ga4c9d4ad5ae198a60bf1a5cb49f74de67}\label{group__Ecore__Application__Group_ga4c9d4ad5ae198a60bf1a5cb49f74de67}} 
\index{Ecore Application functions@{Ecore Application functions}!ecore\_app\_no\_system\_modules@{ecore\_app\_no\_system\_modules}}
\index{ecore\_app\_no\_system\_modules@{ecore\_app\_no\_system\_modules}!Ecore Application functions@{Ecore Application functions}}
\doxysubsubsection{\texorpdfstring{ecore\_app\_no\_system\_modules()}{ecore\_app\_no\_system\_modules()}}
{\footnotesize\ttfamily void ecore\+\_\+app\+\_\+no\+\_\+system\+\_\+modules (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Do not load system modules for this application. 

Ecore will now load platform-\/specific system modules such as power-\/management, time and locate monitors.

Whenever this function is called {\bfseries{before}} \mbox{\hyperlink{group__Ecore__Init__Group_ga77757609684a2c922dc5ec398274751b}{ecore\+\_\+init()}}, ecore won\textquotesingle{}t load such modules.

This may be useful to some command-\/line utilities, hardly will be useful for end-\/user applications.

The environment variable ECORE\+\_\+\+NO\+\_\+\+SYSTEM\+\_\+\+MODULES=1 may be used to temporarily disable system modules, often useful for debug.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

