diff --git a/kmymoney/mymoney/storage/mymoneystoragedump.h b/kmymoney/mymoney/storage/mymoneystoragedump.h index 44d890417..a80d7cb70 100644 --- a/kmymoney/mymoney/storage/mymoneystoragedump.h +++ b/kmymoney/mymoney/storage/mymoneystoragedump.h @@ -1,59 +1,61 @@ /*************************************************************************** mymoneystoragedump.h - description ------------------- begin : Sun May 5 2002 copyright : (C) 2000-2002 by Michael Edwardes email : mte@users.sourceforge.net Javier Campos Morales Felix Rodriguez John C Thomas Baumgart Kevin Tambascio ***************************************************************************/ /*************************************************************************** * * * This program 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. * * * ***************************************************************************/ #ifndef MYMONEYSTORAGEDUMP_H #define MYMONEYSTORAGEDUMP_H +#include "kmm_mymoney_export.h" + // ---------------------------------------------------------------------------- // QT Includes // ---------------------------------------------------------------------------- // Project Includes #include "mymoneykeyvaluecontainer.h" /** * @author Thomas Baumgart */ class MyMoneyStorageMgr; class MyMoneyTransaction; class QTextStream; namespace eMyMoney { namespace Split { enum class State; } } -class MyMoneyStorageDump +class KMM_MYMONEY_EXPORT MyMoneyStorageDump { public: MyMoneyStorageDump(); ~MyMoneyStorageDump(); void readStream(QDataStream& s, MyMoneyStorageMgr* storage); void writeStream(QDataStream& s, MyMoneyStorageMgr* storage); private: void dumpTransaction(QTextStream& s, MyMoneyStorageMgr* storage, const MyMoneyTransaction& it_t); void dumpKVP(const QString& headline, QTextStream& s, const MyMoneyKeyValueContainer &kvp, int indent = 0); const QString reconcileToString(eMyMoney::Split::State flag) const; }; #endif