aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-29 17:20:27 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:57 +0200
commitacf72075ed32e5a679d49ffedc0c28d8ac2aea8b (patch)
tree3efaa0c4eb4d750e5e55393e37b40228a102f9f2 /src/interfaces
parent6bea1363c9b3f01fec5b54fd0f3a3ee91fa16672 (diff)
chore: add nolint comments to interfaces
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/argument_parser.hpp1
-rw-r--r--src/interfaces/command.hpp1
-rw-r--r--src/interfaces/cursor.hpp1
-rw-r--r--src/interfaces/game.hpp1
-rw-r--r--src/interfaces/generation_tracker.hpp1
-rw-r--r--src/interfaces/input.hpp1
-rw-r--r--src/interfaces/publisher.hpp1
-rw-r--r--src/interfaces/randomization.hpp5
-rw-r--r--src/interfaces/scene.hpp1
-rw-r--r--src/interfaces/status_updater.hpp1
-rw-r--r--src/interfaces/statusline.hpp1
-rw-r--r--src/interfaces/subscriber.hpp1
12 files changed, 13 insertions, 3 deletions
diff --git a/src/interfaces/argument_parser.hpp b/src/interfaces/argument_parser.hpp
index 742646d..efcbaf3 100644
--- a/src/interfaces/argument_parser.hpp
+++ b/src/interfaces/argument_parser.hpp
@@ -12,6 +12,7 @@ struct ParsedArguments
std::shared_ptr<IRandomNumberGenerator> random_gen = nullptr;
};
+// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IArgumentParser
{
public:
diff --git a/src/interfaces/command.hpp b/src/interfaces/command.hpp
index 6220af1..f433eab 100644
--- a/src/interfaces/command.hpp
+++ b/src/interfaces/command.hpp
@@ -4,6 +4,7 @@
#include <cstddef>
+// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class ICommand : public ISubscriber<std::nullptr_t>
{
public:
diff --git a/src/interfaces/cursor.hpp b/src/interfaces/cursor.hpp
index 7112f9a..caa89df 100644
--- a/src/interfaces/cursor.hpp
+++ b/src/interfaces/cursor.hpp
@@ -12,6 +12,7 @@ enum CursorEvent
POSITION_CHANGE
};
+// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class ICursorController : public IPublisher<CursorEvent, Vector2>
{
public:
diff --git a/src/interfaces/game.hpp b/src/interfaces/game.hpp
index 6836dbd..3e547f5 100644
--- a/src/interfaces/game.hpp
+++ b/src/interfaces/game.hpp
@@ -8,6 +8,7 @@
#include <memory>
#include <unordered_map>
+// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IGame
{
public:
diff --git a/src/interfaces/generation_tracker.hpp b/src/interfaces/generation_tracker.hpp
index 135af00..76f241a 100644
--- a/src/interfaces/generation_tracker.hpp
+++ b/src/interfaces/generation_tracker.hpp
@@ -3,6 +3,7 @@
#include <cstdint>
#include <memory>
+// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IGenerationTracker
{
public:
diff --git a/src/interfaces/input.hpp b/src/interfaces/input.hpp
index 795ade2..b71de67 100644
--- a/src/interfaces/input.hpp
+++ b/src/interfaces/input.hpp
@@ -6,6 +6,7 @@
#include <cstddef>
#include <memory>
+// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IInputHandler : public IPublisher<char, std::nullptr_t>
{
public:
diff --git a/src/interfaces/publisher.hpp b/src/interfaces/publisher.hpp
index 14766ed..ef1e61c 100644
--- a/src/interfaces/publisher.hpp
+++ b/src/interfaces/publisher.hpp
@@ -6,6 +6,7 @@
#include <memory>
template <typename Event, typename Context>
+// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IPublisher
{
public:
diff --git a/src/interfaces/randomization.hpp b/src/interfaces/randomization.hpp
index f290d5c..211360e 100644
--- a/src/interfaces/randomization.hpp
+++ b/src/interfaces/randomization.hpp
@@ -2,6 +2,7 @@
#include <memory>
+// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class ISeedGenerator
{
public:
@@ -12,9 +13,7 @@ public:
using ISeedGeneratorFactory = std::shared_ptr<ISeedGenerator> (*)();
-/**
- * Pseudo-random unsigned integer generator.
- */
+// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IRandomNumberGenerator
{
public:
diff --git a/src/interfaces/scene.hpp b/src/interfaces/scene.hpp
index 3b5e037..3b440b0 100644
--- a/src/interfaces/scene.hpp
+++ b/src/interfaces/scene.hpp
@@ -6,6 +6,7 @@
#include <memory>
+// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IScene
{
public:
diff --git a/src/interfaces/status_updater.hpp b/src/interfaces/status_updater.hpp
index ccfb2db..2770d5e 100644
--- a/src/interfaces/status_updater.hpp
+++ b/src/interfaces/status_updater.hpp
@@ -8,6 +8,7 @@
#include <memory>
+// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IStatusUpdater : public ISubscriber<Vector2>
{
public:
diff --git a/src/interfaces/statusline.hpp b/src/interfaces/statusline.hpp
index 00da99b..f07c1a0 100644
--- a/src/interfaces/statusline.hpp
+++ b/src/interfaces/statusline.hpp
@@ -11,6 +11,7 @@ enum StatusLineSection
B
};
+// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IStatusLine
{
public:
diff --git a/src/interfaces/subscriber.hpp b/src/interfaces/subscriber.hpp
index 6641be7..942c1d5 100644
--- a/src/interfaces/subscriber.hpp
+++ b/src/interfaces/subscriber.hpp
@@ -1,6 +1,7 @@
#pragma once
template <typename Context>
+// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class ISubscriber
{
public: