\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}{\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[{ecore\+\_\+app\+\_\+args\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+app\+\_\+args\+\_\+set (
\begin{DoxyParamCaption}
\item[{int}]{argc, }
\item[{const char $\ast$$\ast$}]{argv}
\end{DoxyParamCaption}
)}}\label{group__Ecore__Application__Group_ga70bce8ffb6e2dc2c0fdab005d566532e}


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\+R\+N.

\hypertarget{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[{ecore\+\_\+app\+\_\+args\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+app\+\_\+args\+\_\+get (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{argc, }
\item[{char $\ast$$\ast$$\ast$}]{argv}
\end{DoxyParamCaption}
)}}\label{group__Ecore__Application__Group_ga2e13fe851572f741f63bbe80b8db7684}


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 funciton 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\+L\+L, and the string array pointer {\ttfamily argv} will be filled also if the pointer is not N\+U\+L\+L. 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\+R\+N.



Referenced by ecore\+\_\+getopt\+\_\+parse(), ecore\+\_\+getopt\+\_\+parse\+\_\+positional(), and ecore\+\_\+x\+\_\+window\+\_\+defaults\+\_\+set().

\hypertarget{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[{ecore\+\_\+app\+\_\+restart}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+app\+\_\+restart (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Ecore__Application__Group_ga7ad251bcf12a6816d3078cedc70dd112}


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\+R\+N.

\hypertarget{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[{ecore\+\_\+app\+\_\+no\+\_\+system\+\_\+modules}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+app\+\_\+no\+\_\+system\+\_\+modules (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Ecore__Application__Group_ga4c9d4ad5ae198a60bf1a5cb49f74de67}


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'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\+U\+E.

