File indexing completed on 2024-04-28 16:30:09

0001 /***************************************************************************
0002  * SPDX-FileCopyrightText: 2022 S. MANKOWSKI stephane@mankowski.fr
0003  * SPDX-FileCopyrightText: 2022 G. DE BURE support@mankowski.fr
0004  * SPDX-License-Identifier: GPL-3.0-or-later
0005  ***************************************************************************/
0006 #ifndef SKGDEFINEBANK_H
0007 #define SKGDEFINEBANK_H
0008 /** @file
0009  * This file defines some macros and constants.
0010  *
0011  * @author Stephane MANKOWSKI / Guillaume DE BURE
0012  */
0013 #include "skgdefine.h"
0014 
0015 /**
0016  * @var DUMPUNIT
0017  * To display units and values
0018  * @see dump
0019  */
0020 static const int DUMPUNIT = (2u << 10);
0021 
0022 /**
0023  * @var DUMPACCOUNT
0024  * To display accounts
0025  * @see dump
0026  */
0027 static const int DUMPACCOUNT = (2u << 11);
0028 
0029 /**
0030  * @var DUMPOPERATION
0031  * To display accounts
0032  * @see dump
0033  */
0034 static const int DUMPOPERATION = (2u << 12);
0035 
0036 /**
0037  * @var DUMPCATEGORY
0038  * To display categories
0039  * @see dump
0040  */
0041 static const int DUMPCATEGORY = (2u << 13);
0042 
0043 /**
0044  * @var DUMPPAYEE
0045  * To display payees
0046  * @see dump
0047  */
0048 static const int DUMPPAYEE = (2u << 14);
0049 
0050 /**
0051  * @var DUMPBUDGET
0052  * To display payees
0053  * @see dump
0054  */
0055 static const int DUMPBUDGET = (2u << 15);
0056 
0057 /**
0058  * @var DUMPBANKOBJECT
0059  * To display categories
0060  * @see dump
0061  */
0062 static const int DUMPBANKOBJECT = DUMPUNIT | DUMPACCOUNT | DUMPOPERATION | DUMPCATEGORY | DUMPPAYEE | DUMPBUDGET;
0063 #endif