| GNOME Video Arcade Reference Manual | ||||
|---|---|---|---|---|
GvaMameProcess;
GvaProcess* gva_mame_process_spawn (const gchar *arguments,
gint priority,
GError **error);
A GvaMameProcess is a type of GvaProcess designed specifically for communicating with a child process running MAME.
typedef struct _GvaMameProcess GvaMameProcess;
Contains only private data that should be read and manipulated using the functions below.
GvaProcess* gva_mame_process_spawn (const gchar *arguments, gint priority, GError **error);
Spawns a child process running MAME with arguments. The resulting
GvaProcess instance will monitor the child process for error messages.
If an error occurs while spawning, the function returns NULL and sets
error.
|
command-line arguments |
|
priority for the event sources |
|
return location for a GError, or NULL
|
Returns : |
a new GvaProcess, or NULL if an error occurred
|