GnuCash 2.4.99
gnc-commodity-edit.h
00001 /*
00002  * gnc-commodity-edit.h -- Commodity editing widget
00003  *
00004  * Copyright (C) 2000 Free Software Foundation
00005  * All rights reserved.
00006  *
00007  * Dave Peticolas <dave@krondo.com>
00008  * Derek Atkins <warlord@MIT.EDU>
00009  *
00010  * GnuCash is free software; you can redistribute it and/or modify
00011  * it under the terms of the GNU Library General Public License as
00012  * published by the Free Software Foundation; either version 2 of
00013  * the License, or (at your option) any later version.
00014  *
00015  * Gnucash is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018  * Library General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU General Public License
00021  * along with this program; if not, contact:
00022  *
00023  * Free Software Foundation           Voice:  +1-617-542-5942
00024  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652
00025  * Boston, MA  02110-1301,  USA       gnu@gnu.org
00026  *
00027  */
00028 /*
00029   @NOTATION@
00030  */
00031 
00032 #ifndef GNC_COMMODITY_EDIT_H
00033 #define GNC_COMMODITY_EDIT_H
00034 
00035 #include "gnc-commodity.h"
00036 
00037 /* Callback function to return the printable string of a commodity */
00038 const char * gnc_commodity_edit_get_string (gpointer ptr);
00039 
00040 /* Callback function to popup a new selection (modal) dialog.
00041  *
00042  * The generic argument is a pointer to a dialog_commodity_mode
00043  * enum. This tells the dialog how to limit the namespaces provided.
00044  */
00045 gpointer gnc_commodity_edit_new_select (gpointer arg, gpointer ptr,
00046                                         GtkWidget *toplevel);
00047 
00048 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines