heraia/trunk/src/heraia.c File Reference

#include "heraia_types.h"

Include dependency graph for heraia.c:

Go to the source code of this file.

Functions

static gboolean version (void)
static gboolean usage (int status)
static window_prop_tinit_window_properties (gint x, gint y, gboolean displayed)
static heraia_window_tinit_window_property_struct (heraia_window_t *main_window)
static heraia_window_theraia_init_main_struct (void)
static HERAIA_ERROR init_heraia_plugin_system (heraia_window_t *main_window)
static GList * init_heraia_location_list (void)
static gboolean manage_command_line_options (Options *opt, int argc, char **argv)
heraia_window_tget_main_struct (void)
int main (int argc, char **argv)

Variables

static heraia_window_tlibheraia_main_struct = NULL


Function Documentation

heraia_window_t* get_main_struct ( void   ) 

This is intended to be called by the library or any program that will use the library in order to get the pointer to the main structure heraia_window_t.

Definition at line 45 of file heraia.c.

static heraia_window_t * heraia_init_main_struct ( void   )  [static]

static GList * init_heraia_location_list ( void   )  [static]

Here we want to init the location list where we might look for in the future. These can be viewed as default paths Beware : prepended list in reverse order.

Definition at line 242 of file heraia.c.

Referenced by heraia_init_main_struct().

static HERAIA_ERROR init_heraia_plugin_system ( heraia_window_t main_window  )  [static]

Function that initializes the plugin system if any :

  • loads any plugin where expected to be found
  • inits the plugin window

Definition at line 215 of file heraia.c.

References HERAIA_NO_PLUGINS, HERAIA_NOERR, load_plugins(), log_message(), plugin_capable(), and plugin_list_window_init_interface().

Referenced by main().

Here is the call graph for this function:

static window_prop_t * init_window_properties ( gint  x,
gint  y,
gboolean  displayed 
) [static]

Inits the properties of a window with defined values

Definition at line 89 of file heraia.c.

References window_prop_t::displayed, window_prop_t::x, and window_prop_t::y.

Referenced by init_window_property_struct().

static heraia_window_t * init_window_property_struct ( heraia_window_t main_window  )  [static]

int main ( int  argc,
char **  argv 
)

static gboolean manage_command_line_options ( Options opt,
int  argc,
char **  argv 
) [static]

Manages all the command line options and populates the Options *opt structure accordingly

Definition at line 292 of file heraia.c.

References Options::filename, long_options, usage(), Options::usage, and version().

Referenced by main().

Here is the call graph for this function:

static gboolean usage ( int  status  )  [static]

Function that informs the user aboit the command line options available with heraia

Definition at line 65 of file heraia.c.

References version().

Referenced by manage_command_line_options().

Here is the call graph for this function:

static gboolean version ( void   )  [static]

prints program name, version, author, date and licence to the standard output

Definition at line 54 of file heraia.c.

References HERAIA_AUTHORS, HERAIA_DATE, HERAIA_LICENSE, and HERAIA_VERSION.

Referenced by manage_command_line_options(), and usage().


Variable Documentation

Definition at line 37 of file heraia.c.


Generated on Sat Jan 17 20:57:56 2009 for Heraia by  doxygen 1.5.6