#include <main.h>
Inheritance diagram for Gnome::Main:
Public Member Functions | |
Main (const Glib::ustring &app_id, const Glib::ustring &app_version, const ModuleInfo &module_info, int argc, char **argv) | |
Initialises the current GNOME libraries for use by the application. | |
Main (const Glib::ustring &app_id, const Glib::ustring &app_version, const ModuleInfo &module_info, int argc, char **argv, const struct poptOption *options, int flags, poptContext *return_ctx) | |
Initialises the current GNOME libraries for use by the application, and takes a table of popt options (popt is the command line argument parsing library). | |
~Main () | |
Protected Member Functions | |
Main () | |
void | set_ids (const Glib::ustring &app_id, const Glib::ustring &app_version) |
Protected Attributes | |
Glib::RefPtr< Program > | m_refProgram |
Static Protected Attributes | |
char * | app_id_ |
char * | app_version_ |
|
Initialises the current GNOME libraries for use by the application. Every GNOME application will need to use this early in its lifetime to initialize the various GNOME libraries in a consistent fashion. This function is very flexible in allowing the user to specify which modules should be initialised and any special parameter values that should be passed to these modules (along with processing commandline options). It loads the specified module_info, and pulls in all the dependencies. Programs that are not running in setuid or setgid mode will also load modules specified in the --load-modules and also in the GNOME_MODULES environment variable.
|
|
Initialises the current GNOME libraries for use by the application, and takes a table of popt options (popt is the command line argument parsing library). Every GNOME application will need to use this early in its lifetime to initialize the various GNOME libraries in a consistent fashion. This function is very flexible in allowing the user to specify which modules should be initialised and any special parameter values that should be passed to these modules (along with processing commandline options). It loads the specified module_info, and pulls in all the dependencies. Programs that are not running in setuid or setgid mode will also load modules specified in the --load-modules and also in the GNOME_MODULES environment variable.
|
|
|
|
|
|
|
|
|
|
|
|
|