Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

workspace.h

Go to the documentation of this file.
00001 
00004 /* GtkSQL -- an interactive graphical query tool for PostgreSQL
00005  * Copyright (C) 2002-2003  Darryl Luff
00006  *
00007  * This program is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00020  * ==========================================================================
00021  *
00022  * Workspace handling. The workspace will include the database connection
00023  * parameters, the currently open queries, and possibly the gui configuration?
00024  * Currently only contains the database connection items.
00025  */
00026 
00027 #ifndef __WORKSPACE_H
00028 #define __WORKSPACE_H
00029 #include <gtk/gtk.h>
00030 
00032 enum ToolbarOptions {
00033     TOOLBAR_ICONS = 1,      
00034     TOOLBAR_TEXT = 2,       
00035     TOOLBAR_BOTH = 3        
00036 };
00037 
00039 int ws_get_changed(void);
00040 
00042 gint ws_get_toolbarconf(void);
00043 
00045 void ws_init();
00046 
00048 void ws_load_file(char *fname);
00049 
00051 int ws_save_file(char *fname);
00052 
00054 void ws_set_toolbarconf(gint tbconf);
00055 
00056 #endif

Generated on Sun May 9 19:19:17 2004 for GtkSQL by doxygen1.2.18