File indexing completed on 2024-05-12 16:43:48

0001 /*
0002     SPDX-FileCopyrightText: 2000-2002 Michael Edwardes <mte@users.sourceforge.net>
0003     SPDX-FileCopyrightText: 2000-2002 Javier Campos Morales <javi_c@users.sourceforge.net>
0004     SPDX-FileCopyrightText: 2000-2002 Felix Rodriguez <frodriguez@users.sourceforge.net>
0005     SPDX-FileCopyrightText: 2000-2002 John C <thetacoturtle@users.sourceforge.net>
0006     SPDX-FileCopyrightText: 2000-2002 Thomas Baumgart <ipwizard@users.sourceforge.net>
0007     SPDX-FileCopyrightText: 2000-2002 Kevin Tambascio <ktambascio@users.sourceforge.net>
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 
0011 #ifndef KMYMONEYFILE_H
0012 #define KMYMONEYFILE_H
0013 
0014 /*
0015  * This file is currently not used anymore, but kept here for reference purposes
0016  */
0017 #if 0
0018 #include "mymoneyaccount.h"
0019 class MyMoneyStorageMgr;
0020 
0021 /**
0022   *@author Michael Edwardes
0023   */
0024 
0025 class KMyMoneyFile
0026 {
0027 private:
0028     // static KMyMoneyFile *_instance;
0029     // MyMoneyFile *m_file;
0030     MyMoneyStorageMgr *m_storage;
0031     bool m_open;
0032 
0033 protected:
0034     // KMyMoneyFile(const QString&);
0035 
0036 public:
0037     KMyMoneyFile();
0038     ~KMyMoneyFile();
0039 //  static KMyMoneyFile *instance();
0040 
0041     // MyMoneyFile* file();
0042     MyMoneyStorageMgr* storage();
0043     void reset();
0044     void open();
0045     void close();
0046     bool isOpen();
0047 
0048 };
0049 #endif
0050 #endif