~ubuntu-branches/ubuntu/hoary/gnucash/hoary

« back to all changes in this revision

Viewing changes to src/gnome/top-level.h

  • Committer: Bazaar Package Importer
  • Author(s): James A. Treacy
  • Date: 2002-03-16 14:14:59 UTC
  • Revision ID: james.westby@ubuntu.com-20020316141459-wtkyyrpfovryhl1s
Tags: upstream-1.6.6
ImportĀ upstreamĀ versionĀ 1.6.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/********************************************************************
 
2
 * top-level.h -- public gnucash UI functions                       *
 
3
 * Copyright (C) 2001 Bill Gribble <grib@gnumatic.com>              *
 
4
 *                                                                  *
 
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.              *
 
9
 *                                                                  *
 
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.                     *
 
14
 *                                                                  *
 
15
 * You should have received a copy of the GNU General Public License*
 
16
 * along with this program; if not, contact:                        *
 
17
 *                                                                  *
 
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
 ********************************************************************/
 
22
 
 
23
#ifndef __TOP_LEVEL_H__
 
24
#define __TOP_LEVEL_H__
 
25
 
 
26
#include <glib.h>
 
27
 
 
28
#include "window-main.h"
 
29
 
 
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);
 
35
 
 
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);
 
43
 
 
44
#endif