X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=src%2Fui-txn-multi.h;fp=src%2Fui-txn-multi.h;h=a575a7bd9ed3642d6a7449f88d412465dac0edf5;hp=0000000000000000000000000000000000000000;hb=cd13d9691c46c2b2d6d459e9e6a76bed1c21b7a6;hpb=b84403141a4c3a32a594800eb3fcabdc856461f8 diff --git a/src/ui-txn-multi.h b/src/ui-txn-multi.h new file mode 100644 index 0000000..a575a7b --- /dev/null +++ b/src/ui-txn-multi.h @@ -0,0 +1,46 @@ +/* HomeBank -- Free, easy, personal accounting for everyone. + * Copyright (C) 1995-2018 Maxime DOYEN + * + * This file is part of HomeBank. + * + * HomeBank 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. + * + * HomeBank 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, see . + */ + +#ifndef __UI_TXN_MULTI_H__ +#define __UI_TXN_MULTI_H__ + + +struct ui_multipleedit_dialog_data +{ + GtkWidget *window; + + GtkWidget *CM_date, *PO_date; + GtkWidget *LB_mode, *CM_mode, *NU_mode; + GtkWidget *CM_info, *ST_info; + GtkWidget *LB_acc, *CM_acc, *PO_acc; + GtkWidget *CM_pay, *PO_pay; + GtkWidget *CM_cat, *PO_cat; + GtkWidget *CM_tags, *ST_tags; + GtkWidget *CM_memo, *ST_memo; + + GtkTreeView *treeview; + gboolean has_xfer; +}; + +void ui_multipleedit_dialog_prefill( GtkWidget *widget, Transaction *ope, gint column_id ); +gint ui_multipleedit_dialog_apply( GtkWidget *widget, gpointer user_data ); +GtkWidget *ui_multipleedit_dialog_new(GtkWindow *parent, GtkTreeView *treeview); + + +#endif /* __UI_TXN_MULTI_H__ */