1
/********************************************************************
2
* top-level.h -- public gnucash UI functions *
3
* Copyright (C) 2001 Bill Gribble <grib@gnumatic.com> *
5
* This program is free software; you can redistribute it and/or *
6
* modify it under the terms of the GNU General Public License as *
7
* published by the Free Software Foundation; either version 2 of *
8
* the License, or (at your option) any later version. *
10
* This program is distributed in the hope that it will be useful, *
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13
* GNU General Public License for more details. *
15
* You should have received a copy of the GNU General Public License*
16
* along with this program; if not, contact: *
18
* Free Software Foundation Voice: +1-617-542-5942 *
19
* 59 Temple Place - Suite 330 Fax: +1-617-542-2652 *
20
* Boston, MA 02111-1307, USA gnu@gnu.org *
21
********************************************************************/
23
#ifndef __TOP_LEVEL_H__
24
#define __TOP_LEVEL_H__
28
#include "window-main.h"
30
gboolean gnucash_ui_is_running(void);
31
gboolean gnucash_ui_is_terminating(void);
32
int gnucash_ui_init(void);
33
gboolean gnucash_ui_open_file(const char * name);
34
int gnucash_ui_select_file(void);
36
GNCMainInfo * gnc_ui_get_data(void);
37
void gnc_default_ui_start(void);
38
void gnc_ui_shutdown(void);
39
void gnc_ui_destroy(void);
40
int gnc_ui_show_main_window(void);
41
int gnc_ui_start_event_loop(void);
42
int gnc_ui_main(void);