atomes 1.1.14
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
main-b.c File Reference
#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 "interface.h"
#include "project.h"
#include "workspace.h"
#include <pwd.h>
+ Include dependency graph for main-b.c:

Go to the source code of this file.

Data Structures

struct  file_list
 

Macros

#define APP_EXTENSION
 

Functions

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 main (int argc, char *argv[])
 initalization of the atomes program
 

Variables

const gchar * dfi [2]
 
struct file_listflist = NULL
 
struct file_listftmp = NULL
 
gboolean with_workspace = FALSE
 

Macro Definition Documentation

◆ APP_EXTENSION

#define APP_EXTENSION

Definition at line 70 of file main-b.c.

Function Documentation

◆ create_main_window()

GtkWidget * create_main_window ( GApplication * atomes)
extern

create the main application window

Parameters
atomesthe initial GtkApplication

Definition at line 968 of file gui.c.

◆ create_splash_window()

GtkWidget * create_splash_window ( )

create splash screen window

Definition at line 273 of file main-b.c.

◆ destroy_func()

gboolean destroy_func ( gpointer user_data)

destroy splash screen

Parameters
user_datathe splash screen to destroy

Definition at line 243 of file main-b.c.

◆ main()

int main ( int argc,
char * argv[] )

initalization of the atomes program

Parameters
argcnumber of argument(s) on the command line
*argv[]list of argument(s) on the command line

Definition at line 570 of file main-b.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_typeFile type
file_nameFile name

Definition at line 340 of file main-b.c.

◆ printhelp()

void printhelp ( )

print basic help

Definition at line 113 of file main-b.c.

◆ printversion()

void printversion ( )

print version information

Definition at line 162 of file main-b.c.

◆ read_this_file()

void read_this_file ( int file_type,
gchar * this_file )

read file from the command line

Parameters
file_typeFile type
this_fileFile name

Definition at line 311 of file main-b.c.

◆ run_program()

G_MODULE_EXPORT void run_program ( GApplication * app,
gpointer data )

run the program

Parameters
appthe application to run
datathe associated data pointer

Definition at line 491 of file main-b.c.

◆ test_this_arg()

int test_this_arg ( gchar * arg)

test an argument from the command line

Parameters
argthe argument to test

Definition at line 93 of file main-b.c.

Variable Documentation

◆ dfi

const gchar* dfi[2]

Definition at line 75 of file main-b.c.

◆ flist

struct file_list* flist = NULL

Definition at line 82 of file main-b.c.

◆ ftmp

struct file_list* ftmp = NULL

Definition at line 83 of file main-b.c.

◆ with_workspace

gboolean with_workspace = FALSE

Definition at line 84 of file main-b.c.