X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Frep_vehicle.h;h=4acb0f6f1f617eed48def195b37b3d7d8f6d49b0;hb=HEAD;hp=bc94b920ec5d181254e0142c3e3e2fb60e708208;hpb=27f6e3b112df235c8e9afc9911b1f6bce208a001;p=chaz%2Fhomebank diff --git a/src/rep_vehicle.h b/src/rep_vehicle.h deleted file mode 100644 index bc94b92..0000000 --- a/src/rep_vehicle.h +++ /dev/null @@ -1,94 +0,0 @@ -/* HomeBank -- Free, easy, personal accounting for everyone. - * Copyright (C) 1995-2014 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 -{ - GtkWidget *window; - - //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]; - - GList *vehicle_list; - - guint total_dist; - gdouble total_fuel; - gdouble total_fuelcost; - gdouble total_misccost; - - - Filter *filter; - - gulong handler_id[MAX_REPVEHICLE_HID]; -}; - -//extern gchar *CYA_FLT_SELECT[]; - -/* list stat */ -enum -{ - LST_CAR_DATE, - LST_CAR_WORDING, - 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