UML class fix bigtime.
[dia.git] / app / app_procs.h
blob4433ae4b8372c06237c87ed4809cd1e1418b26e3
1 /* Dia -- an diagram creation/manipulation program
2 * Copyright (C) 1998 Alexander Larsson
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 #ifndef APP_PROCS_H
19 #define APP_PROCS_H
21 #include <lib/filter.h>
23 void app_init(int argc, char **argv);
24 /** Exit the application, but asking the user for confirmation
25 * if there are changed diagrams.
26 * Returns TRUE if the application exits.
28 gboolean app_exit(void);
29 int app_is_embedded(void);
31 char *build_output_file_name(const char *infname, const char *format);
33 void app_splash_init(const gchar* name);
34 void app_splash_done(void);
36 gboolean app_is_interactive(void);
38 /* parses a string of the form "[0-9]*x[0-9]*" and transforms it into
39 two long values width and height. */
40 void parse_size(gchar *size, long *width, long *height);
42 void dia_redirect_console (void);
44 #endif /* APP_PROCS_H */