0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 08:28:06 +03:00

Define code style and format all source file using clang-format-14

except those placed in 3rdparty directories.
This commit is contained in:
Андрей Лухнов
2024-09-04 17:31:16 +03:00
parent c5b9ac265d
commit 0fca7169d3
285 changed files with 19120 additions and 17875 deletions

View File

@@ -31,33 +31,32 @@
#define LRSTORAGEINTF_H
#include "lrglobal.h"
#include <QSharedPointer>
class QString;
class QObject;
namespace LimeReport{
namespace LimeReport {
class LIMEREPORT_EXPORT ObjectLoadingStateIntf{
class LIMEREPORT_EXPORT ObjectLoadingStateIntf {
public:
virtual bool isLoading() = 0;
virtual void objectLoadStarted() = 0;
virtual void objectLoadFinished() = 0;
};
class LIMEREPORT_EXPORT ItemsWriterIntf
{
class LIMEREPORT_EXPORT ItemsWriterIntf {
public:
virtual void putItem(QObject* item) = 0;
virtual bool saveToFile(QString fileName) = 0;
virtual QString saveToString() = 0;
virtual QByteArray saveToByteArray() = 0;
virtual void setPassPhrase(const QString& passPhrase) = 0;
virtual ~ItemsWriterIntf(){}
virtual ~ItemsWriterIntf() { }
};
class LIMEREPORT_EXPORT ItemsReaderIntf
{
class LIMEREPORT_EXPORT ItemsReaderIntf {
public:
typedef QSharedPointer<ItemsReaderIntf> Ptr;
virtual bool first() = 0;
@@ -65,12 +64,12 @@ public:
virtual bool prior() = 0;
virtual QString itemType() = 0;
virtual QString itemClassName() = 0;
virtual bool readItem(QObject *item) = 0;
virtual bool readItem(QObject* item) = 0;
virtual int firstLevelItemsCount() = 0;
virtual QString lastError() = 0;
virtual void setPassPhrase(const QString& passPhrase) = 0;
virtual ~ItemsReaderIntf(){}
virtual ~ItemsReaderIntf() { }
};
}
} // namespace LimeReport
#endif // LRSTORAGEINTF_H