\hypertarget{group__Ecore__Application__Group}{}\section{Ecore Application functions}
\label{group__Ecore__Application__Group}\index{Ecore Application functions@{Ecore Application functions}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__Ecore__Application__Group_ga70bce8ffb6e2dc2c0fdab005d566532e}{ecore\+\_\+app\+\_\+args\+\_\+set} (int argc, const char $\ast$$\ast$argv)
\begin{DoxyCompactList}\small\item\em Set up the programs command-\/line arguments. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__Application__Group_ga2e13fe851572f741f63bbe80b8db7684}{ecore\+\_\+app\+\_\+args\+\_\+get} (int $\ast$argc, char $\ast$$\ast$$\ast$argv)
\begin{DoxyCompactList}\small\item\em Return the programs stored command-\/line arguments. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__Application__Group_ga7ad251bcf12a6816d3078cedc70dd112}{ecore\+\_\+app\+\_\+restart} (void)
\begin{DoxyCompactList}\small\item\em Restart the program executable with the command-\/line arguments stored. \end{DoxyCompactList}\item 
void \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}


\subsection{Detailed Description}


\subsection{Function Documentation}
\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}}
\subsubsection{\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})}



Set 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 \hyperlink{group__Ecore__Application__Group_ga7ad251bcf12a6816d3078cedc70dd112}{ecore\+\_\+app\+\_\+restart()} or \hyperlink{group__Ecore__Application__Group_ga2e13fe851572f741f63bbe80b8db7684}{ecore\+\_\+app\+\_\+args\+\_\+get()}. 

References E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.



Referenced by elm\+\_\+quicklaunch\+\_\+fork(), elm\+\_\+quicklaunch\+\_\+init(), and elm\+\_\+quicklaunch\+\_\+sub\+\_\+init().

\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}}
\subsubsection{\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})}



Return 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 \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 N\+U\+LL, and the string array pointer {\ttfamily argv} will be filled also if the pointer is not N\+U\+LL. The values they are filled with will be the same set by \hyperlink{group__Ecore__Application__Group_ga70bce8ffb6e2dc2c0fdab005d566532e}{ecore\+\_\+app\+\_\+args\+\_\+set()}. 

References E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.



Referenced by ecore\+\_\+getopt\+\_\+parse(), and ecore\+\_\+getopt\+\_\+parse\+\_\+positional().

\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}}
\subsubsection{\texorpdfstring{ecore\+\_\+app\+\_\+restart()}{ecore\_app\_restart()}}
{\footnotesize\ttfamily void ecore\+\_\+app\+\_\+restart (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Restart 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 \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 E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\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}}
\subsubsection{\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} \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.

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


References E\+I\+N\+A\+\_\+\+T\+R\+UE.

