~mdoyen/homebank/trunk

« back to all changes in this revision

Viewing changes to src/hb-category.h

  • Committer: Maxime Doyen
  • Date: 2023-01-12 17:58:52 UTC
  • Revision ID: homebank@free.fr-20230112175852-qtqy23vexam04fim
5.6.1 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  HomeBank -- Free, easy, personal accounting for everyone.
2
 
 *  Copyright (C) 1995-2022 Maxime DOYEN
 
2
 *  Copyright (C) 1995-2023 Maxime DOYEN
3
3
 *
4
4
 *  This file is part of HomeBank.
5
5
 *
20
20
#ifndef __HB_CATEGORY_H__
21
21
#define __HB_CATEGORY_H__
22
22
 
23
 
 
24
23
typedef struct _category                Category;
25
24
 
26
 
 
27
25
struct _category
28
26
{
29
27
        guint32         key;
35
33
 
36
34
        /* unsaved datas */
37
35
        gchar           *fullname;
38
 
        gboolean        flt_select;
 
36
        //gboolean      flt_select;
39
37
        guint16         nb_use_txn;
40
38
        guint16         nb_use_txncat;  //cat usage only
41
39
        guint16         nb_use_all;
49
47
#define GF_FORCED       (1<<4)
50
48
#define GF_MIXED        (1<<5)          //#1740368 if cat has mixed exp/inc type
51
49
 
 
50
#define GF_HIDDEN       (1<<8)          //hidden by user
 
51
 
52
52
 
53
53
Category *da_cat_clone(Category *src_item);
54
54
void da_cat_free(Category *item);