Initialization of the atomes program
Functions required to read data from the command line.
More...
#include <libavcodec/avcodec.h>
#include <libavutil/avutil.h>
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>
#include "version.h"
#include "global.h"
#include "bind.h"
#include "callbacks.h"
#include "preferences.h"
#include "interface.h"
#include "project.h"
#include "workspace.h"
#include <pwd.h>
Go to the source code of this file.
|
| GtkWidget * | create_main_window (GApplication *app) |
| | create the main application window
|
| |
| int | test_this_arg (gchar *arg) |
| | test an argument from the command line
|
| |
| void | printhelp () |
| | print basic help
|
| |
| void | printversion () |
| | print version information
|
| |
| gboolean | destroy_func (gpointer user_data) |
| | destroy splash screen
|
| |
| GtkWidget * | create_splash_window () |
| | create splash screen window
|
| |
| void | read_this_file (int file_type, gchar *this_file) |
| | read file from the command line
|
| |
| void | open_this_data_file (int file_type, gchar *file_name) |
| | open data file from the command line
|
| |
| G_MODULE_EXPORT void | run_program (GApplication *app, gpointer data) |
| | run the program
|
| |
| int | check_opengl_rendering () |
| | check the initialization parameters for an OpenGL context
|
| |
| int | main (int argc, char *argv[]) |
| | initialization of the atomes program
|
| |
Initialization of the atomes program
Functions required to read data from the command line.
- Author
- Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r
Definition in file main.c.
◆ APP_EXTENSION
◆ check_opengl_rendering()
| int check_opengl_rendering |
( |
| ) |
|
check the initialization parameters for an OpenGL context
Definition at line 571 of file main.c.
◆ create_main_window()
| GtkWidget * create_main_window |
( |
GApplication * | atomes | ) |
|
|
extern |
create the main application window
- Parameters
-
| atomes | the initial GtkApplication |
Definition at line 1092 of file gui.c.
◆ create_splash_window()
| GtkWidget * create_splash_window |
( |
| ) |
|
create splash screen window
Definition at line 274 of file main.c.
◆ destroy_func()
| gboolean destroy_func |
( |
gpointer | user_data | ) |
|
destroy splash screen
- Parameters
-
| user_data | the splash screen to destroy |
Definition at line 244 of file main.c.
◆ main()
| int main |
( |
int | argc, |
|
|
char * | argv[] ) |
initialization of the atomes program
- Parameters
-
| argc | number of argument(s) on the command line |
| *argv[] | list of argument(s) on the command line |
Definition at line 654 of file main.c.
◆ open_this_data_file()
| void open_this_data_file |
( |
int | file_type, |
|
|
gchar * | file_name ) |
open data file from the command line
- Parameters
-
| file_type | File type |
| file_name | File name |
Definition at line 341 of file main.c.
◆ printhelp()
print basic help
Definition at line 114 of file main.c.
◆ printversion()
print version information
Definition at line 163 of file main.c.
◆ read_this_file()
| void read_this_file |
( |
int | file_type, |
|
|
gchar * | this_file ) |
read file from the command line
- Parameters
-
| file_type | File type |
| this_file | File name |
Definition at line 312 of file main.c.
◆ run_program()
| G_MODULE_EXPORT void run_program |
( |
GApplication * | app, |
|
|
gpointer | data ) |
run the program
- Parameters
-
| app | the application to run |
| data | the associated data pointer |
Definition at line 490 of file main.c.
◆ test_this_arg()
| int test_this_arg |
( |
gchar * | arg | ) |
|
test an argument from the command line
- Parameters
-
Definition at line 94 of file main.c.
◆ dfi
◆ flist
◆ ftmp
◆ with_workspace
| gboolean with_workspace = FALSE |