From 98e181b158aa3d2e6b4a7d46a8c2cf85bc78091c Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Sun, 14 Jan 2024 21:08:34 +0300 Subject: [PATCH] addCSV has been added to IDataSourceManager --- include/lrdatasourcemanagerintf.h | 1 + limereport/lrdatasourcemanagerintf.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/lrdatasourcemanagerintf.h b/include/lrdatasourcemanagerintf.h index c43b239..0ff4a55 100644 --- a/include/lrdatasourcemanagerintf.h +++ b/include/lrdatasourcemanagerintf.h @@ -55,6 +55,7 @@ public: virtual bool containsVariable(const QString& variableName) = 0; virtual QVariant variable(const QString& variableName) = 0; virtual bool addModel(const QString& name, QAbstractItemModel *model, bool owned) = 0; + virtual void addCSV(const QString& name, const QString& csvText, const QString& separator, bool firstRowIsHeader) = 0; virtual void removeModel(const QString& name) = 0; virtual bool containsDatasource(const QString& dataSourceName) = 0; virtual void clearUserVariables()=0; diff --git a/limereport/lrdatasourcemanagerintf.h b/limereport/lrdatasourcemanagerintf.h index c43b239..0ff4a55 100644 --- a/limereport/lrdatasourcemanagerintf.h +++ b/limereport/lrdatasourcemanagerintf.h @@ -55,6 +55,7 @@ public: virtual bool containsVariable(const QString& variableName) = 0; virtual QVariant variable(const QString& variableName) = 0; virtual bool addModel(const QString& name, QAbstractItemModel *model, bool owned) = 0; + virtual void addCSV(const QString& name, const QString& csvText, const QString& separator, bool firstRowIsHeader) = 0; virtual void removeModel(const QString& name) = 0; virtual bool containsDatasource(const QString& dataSourceName) = 0; virtual void clearUserVariables()=0;