X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=src%2Frep_vehicle.h;fp=src%2Frep_vehicle.h;h=0000000000000000000000000000000000000000;hp=e964aa5ea2f20b7f9aefe9e920c31bdf4e54efa6;hb=a6c6b0df5492c2160ed97e3a376bdb2fe7c5ebc4;hpb=cd13d9691c46c2b2d6d459e9e6a76bed1c21b7a6 diff --git a/src/rep_vehicle.h b/src/rep_vehicle.h deleted file mode 100644 index e964aa5..0000000 --- a/src/rep_vehicle.h +++ /dev/null @@ -1,98 +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 __HOMEBANK_REPVEHICLE_H__ -#define __HOMEBANK_REPVEHICLE_H__ - -enum { - HID_REPVEHICLE_MINDATE, - HID_REPVEHICLE_MAXDATE, - HID_REPVEHICLE_RANGE, - HID_REPVEHICLE_VEHICLE, - MAX_REPVEHICLE_HID -}; - -enum { - CAR_RES_METER = 1, - CAR_RES_FUEL, - CAR_RES_FUELCOST, - CAR_RES_OTHERCOST, - CAR_RES_TOTALCOST, - MAX_CAR_RES -}; - - -struct repvehicle_data -{ - GQueue *txn_queue; - GList *vehicle_list; - Filter *filter; - - guint total_dist; - gdouble total_fuel; - gdouble total_fuelcost; - gdouble total_misccost; - - GtkWidget *window; - - GtkUIManager *ui; - GtkActionGroup *actions; - - GtkWidget *TB_bar; - - //GtkWidget *TX_info; - GtkWidget *CM_minor; - GtkWidget *LV_report; - GtkWidget *PO_cat; - - GtkWidget *PO_mindate, *PO_maxdate; - - GtkWidget *CY_range; - GtkWidget *GR_result; - - GtkWidget *LA_avera[MAX_CAR_RES]; - GtkWidget *LA_total[MAX_CAR_RES]; - - gulong handler_id[MAX_REPVEHICLE_HID]; -}; - -//extern gchar *CYA_FLT_SELECT[]; - -/* list stat */ -enum -{ - LST_CAR_DATE, - LST_CAR_MEMO, - LST_CAR_METER, - LST_CAR_FUEL, - LST_CAR_PRICE, - LST_CAR_AMOUNT, - LST_CAR_DIST, - LST_CAR_100KM, - LST_CAR_DISTBYVOL, - LST_CAR_PARTIAL, - NUM_LST_CAR -}; - - - - -GtkWidget *repcost_window_new(void); - -#endif