summaryrefslogtreecommitdiffstats
path: root/api/logic/ProblemProvider.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-11-04 22:55:25 +0100
committerPetr Mrázek <peterix@gmail.com>2017-11-17 15:44:13 +0100
commit17c8f31a09da6bdfc4aa7f67b2ca86b791f2ba96 (patch)
tree47330451b2a147ee54b2e63c5a1e614e4f88268b /api/logic/ProblemProvider.h
parent3470158943acb9fc4439ea255fe3ea0fbc7dbc85 (diff)
downloadMultiMC-17c8f31a09da6bdfc4aa7f67b2ca86b791f2ba96.tar
MultiMC-17c8f31a09da6bdfc4aa7f67b2ca86b791f2ba96.tar.gz
MultiMC-17c8f31a09da6bdfc4aa7f67b2ca86b791f2ba96.tar.lz
MultiMC-17c8f31a09da6bdfc4aa7f67b2ca86b791f2ba96.tar.xz
MultiMC-17c8f31a09da6bdfc4aa7f67b2ca86b791f2ba96.zip
NOISSUE split out the LaunchProfile out of the ComponentList
Diffstat (limited to 'api/logic/ProblemProvider.h')
-rw-r--r--api/logic/ProblemProvider.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/api/logic/ProblemProvider.h b/api/logic/ProblemProvider.h
index 7dedccd7..4040f4fa 100644
--- a/api/logic/ProblemProvider.h
+++ b/api/logic/ProblemProvider.h
@@ -16,18 +16,19 @@ struct PatchProblem
class ProblemProvider
{
public:
- virtual const QList<PatchProblem> getProblems() = 0;
- virtual ProblemSeverity getProblemSeverity() = 0;
+ virtual ~ProblemProvider() {};
+ virtual const QList<PatchProblem> getProblems() const = 0;
+ virtual ProblemSeverity getProblemSeverity() const = 0;
};
class ProblemContainer : public ProblemProvider
{
public:
- const QList<PatchProblem> getProblems() override
+ const QList<PatchProblem> getProblems() const override
{
return m_problems;
}
- ProblemSeverity getProblemSeverity() override
+ ProblemSeverity getProblemSeverity() const override
{
return m_problemSeverity;
}