##// END OF EJS Templates
Added static plugin support...
Added static plugin support In case of fully static exe even plugins must be static to allow single file executable. Small fix, when using resources in app from library they must be initialized with Q_INIT_RESOURCE. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r961:15899f42a907
r1123:247dc18789c6
Show More
VariableCacheStrategy.h
32 lines | 722 B | text/x-c | CLexer
/ core / include / Variable / VariableCacheStrategy.h
Implementation of the VariableCacheStrategy
r531 #ifndef SCIQLOP_VARIABLECACHESTRATEGY_H
#define SCIQLOP_VARIABLECACHESTRATEGY_H
#include "CoreGlobal.h"
#include <QLoggingCategory>
#include <QObject>
#include <Data/SqpRange.h>
#include <QLoggingCategory>
#include <Common/spimpl.h>
#include <utility>
Q_DECLARE_LOGGING_CATEGORY(LOG_VariableCacheStrategy)
class Variable;
/// This class aims to hande the cache strategy.
Alexandre Leroux
Updates cache strategy
r771 class SCIQLOP_CORE_EXPORT VariableCacheStrategy {
Implementation of the VariableCacheStrategy
r531
Alexandre Leroux
Updates cache strategy
r771 public:
Alexandre Leroux
Removes compilation warnings (with Meson)
r961 virtual ~VariableCacheStrategy() noexcept = default;
Alexandre Leroux
Updates cache strategy
r771 virtual std::pair<SqpRange, SqpRange> computeRange(const SqpRange &vRange,
const SqpRange &rangeRequested)
= 0;
Implementation of the VariableCacheStrategy
r531 };
Alexandre Leroux
Updates cache strategy
r771
Implementation of the VariableCacheStrategy
r531 #endif // SCIQLOP_VARIABLECACHESTRATEGY_H