/*  Xsqlmenu
 *  Copyright (C) 1996-2000 Kees Lemmens
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef FD_Xsql_h_
#define FD_Xsql_h_
/* Header file generated with fdesign. */

/**** Callback routines ****/

extern void XsqlSearch(FL_OBJECT *, long);
extern void XsqlInsert(FL_OBJECT *, long);
extern void XsqlShowAll(FL_OBJECT *, long);
extern void XsqlModify(FL_OBJECT *, long);
extern void XsqlExit(FL_OBJECT *, long);
extern void XsqlFieldInfo(FL_OBJECT *, long);
extern void XsqlSQLQuery(FL_OBJECT *, long);
extern void XsqlInfo(FL_OBJECT *, long);
extern void XsqlSetNewServer(FL_OBJECT *, long);
extern void XsqlSetNewTable(FL_OBJECT *, long);
extern void XsqlSetNewDatabase(FL_OBJECT *, long);

extern void ShowerClose(FL_OBJECT *, long);
extern void ShowerPrint(FL_OBJECT *, long);
extern void ShowerFontSize(FL_OBJECT *, long);
extern void ShowerWriteFile(FL_OBJECT *, long);
extern void BrowserModifier(FL_OBJECT *, long);


/**** Forms and Objects ****/

typedef struct {
	FL_FORM *Xsql;
	void *vdata;
	long ldata;
	FL_OBJECT *XsqlMessages;
	FL_OBJECT *Buttons;
	FL_OBJECT *Settings;
	FL_OBJECT *XsqlServer;
	FL_OBJECT *XsqlTable;
	FL_OBJECT *XsqlDatabase;
	FL_OBJECT *XsqlRecordCount;
	FL_OBJECT *XsqlFieldCount;
	FL_OBJECT *Logo;
} FD_Xsql;

extern FD_Xsql * create_form_Xsql(void);
typedef struct {
	FL_FORM *Shower;
	void *vdata;
	long ldata;
	FL_OBJECT *Title;
	FL_OBJECT *FontSize;
	FL_OBJECT *Browser;
	FL_OBJECT *Modify;
} FD_Shower;

extern FD_Shower * create_form_Shower(void);

#endif /* FD_Xsql_h_ */
