File indexing completed on 2024-05-12 16:42:33

0001 /*
0002     SPDX-FileCopyrightText: 2009 Ian Neal <ianrsn70@users.sourceforge.net>
0003     SPDX-FileCopyrightText: 2009 Thomas Baumgart <tbaumgart@kde.org>
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef IMYMONEYPROCESSINGCALENDAR_H
0008 #define IMYMONEYPROCESSINGCALENDAR_H
0009 
0010 // ----------------------------------------------------------------------------
0011 // QT Includes
0012 
0013 class QDate;
0014 
0015 // ----------------------------------------------------------------------------
0016 // KDE Headers
0017 
0018 // ----------------------------------------------------------------------------
0019 // Project Includes
0020 
0021 /**
0022   * @author Ian Neal
0023   *
0024   * The IMyMoneyProcessingCalendar class describes the interface to the
0025   * various parts that make up the processing days calendar.
0026   */
0027 class IMyMoneyProcessingCalendar
0028 {
0029 public:
0030     // TODO: find out how to move this ctor and dtor out of header
0031     IMyMoneyProcessingCalendar() {} // krazy:exclude=inline
0032     virtual ~IMyMoneyProcessingCalendar() {} // krazy:exclude=inline
0033 
0034     /**
0035       * returns if a given day is used by an institution to process
0036       * transactions or not
0037       */
0038     virtual bool isProcessingDate(const QDate& date) const = 0;
0039 };
0040 
0041 #endif