ug4
|
#include "ug_shell/ugshell_main.h"
Functions | |
int | main (int argc, char **argv) |
This is a lightweight wrapper for ugshell_main. It simply calls ugshell_main with the provided arguments.
If you'd like to do something before ugshell_main is executed, you may write your own main.cpp and compile ug with the
option.
Alternatively, you may also create a plugin or enhance your existing one. To this end add an 'alternate_main.cpp' file and a CMakeLists.txt to your plugin which contains the line:
In that case, the alternate_main.cpp is automatically activated as soon as you enable your plugin.
If you want to return to the original main, please deactivate the plugin in question and once call:
int main | ( | int | argc, |
char ** | argv | ||
) |
References ugshell_main().