X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=src%2Fdsp_account.h;fp=src%2Fdsp_account.h;h=0000000000000000000000000000000000000000;hp=00f9c234eba39ab7eb610645b105a3f39b23b167;hb=a6c6b0df5492c2160ed97e3a376bdb2fe7c5ebc4;hpb=cd13d9691c46c2b2d6d459e9e6a76bed1c21b7a6 diff --git a/src/dsp_account.h b/src/dsp_account.h deleted file mode 100644 index 00f9c23..0000000 --- a/src/dsp_account.h +++ /dev/null @@ -1,103 +0,0 @@ -/* 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 __HB_DSPACCOUNT_H__ -#define __HB_DSPACCOUNT_H__ - - -enum -{ - ACTION_ACCOUNT_ADD, - ACTION_ACCOUNT_INHERIT, - ACTION_ACCOUNT_EDIT, - ACTION_ACCOUNT_MULTIEDIT, - ACTION_ACCOUNT_NONE, - ACTION_ACCOUNT_CLEAR, - ACTION_ACCOUNT_RECONCILE, - ACTION_ACCOUNT_DELETE, - ACTION_ACCOUNT_FILTER, - ACTION_ACCOUNT_CLOSE, - MAX_ACTION_ACCOUNT -}; - -enum { - HID_RANGE, - HID_TYPE, - HID_STATUS, - HID_SEARCH, - MAX_HID -}; - -struct register_panel_data -{ - GtkWidget *window; - GtkWidget *TB_bar; - GtkWidget *TB_tools; - - GtkWidget *CY_range; - GtkWidget *CY_type; - GtkWidget *CY_status; -// GtkWidget *CY_month, *NB_year; - GtkWidget *BT_reset; - GtkWidget *TX_selection; - - GtkWidget *ST_search; - - GtkWidget *IM_closed; - GtkWidget *LB_name; - GtkWidget *CM_minor; - GtkWidget *TX_balance[3]; - - GPtrArray *gpatxn; - GtkWidget *LV_ope; - - gint busy; - gchar *wintitle; - GtkUIManager *ui; - GtkActionGroup *actions; - - - Transaction *cur_ope; - - guint32 accnum; - Account *acc; - - gboolean do_sort; - - /* status counters */ - gint hidden, total; - gdouble totalsum; - - Filter *filter; - - guint timer_tag; - - gulong handler_id[MAX_HID]; - - //gint change; /* change shouldbe done directly */ - -}; - -#define DEFAULT_DELAY 750 /* Default delay in ms */ - -GtkWidget *register_panel_window_new(guint32 accnum, Account *acc); -void register_panel_window_init(GtkWidget *widget, gpointer user_data); - - -#endif /* __HOMEBANK_DSPACCOUNT_H__ */